retrieving specific idf fieldnames with eppy [closed]

asked 2016-07-26 10:20:35 -0500

andrea.botti's avatar

updated 2016-07-26 20:35:36 -0500

Hello, I am a eppy beginner and am trying to replace certain parameters with @@labels@@ in order to prepare an idf file for jeplus. The first step would be to retrieve the Z coordinates for walls and ceilings' top vertexes. Having written the code:

geometry = idf1.idfobjects['buildingsurface:detailed'.upper()] idf_ceiling = 'RoofCeiling' idf_wall = 'Wall' idf_floor = 'Floor'

for s in surf_names: if idf_wall in s: print s print geometry.fieldnames

returns the error:

AttributeError: 'Idf_MSequence' object has no attribute 'fieldnames'

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by MatthewSteen
close date 2016-07-26 10:57:53.073735