Revision history [back]
Using eppy to retrieve idf objects fieldnames
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:
**surfaces = idf1.idfobjects['BUILDINGSURFACE:DETAILED']**
**surf_names = [surface.Name for surface in surfaces]**
geometry = idf1.idfobjects['buildingsurface:detailed'.upper()]
idf_ceiling = 'RoofCeiling'
idf_wall = 'Wall' idf_floor = 'Floor'
for s in surfaces:
if sub in s:
print s; #print geometry[s].area
returns the error:
AttributeError: 'Idf_MSequence' object has no attribute 'fieldnames'
Using eppy to retrieve idf objects fieldnames
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:
**surfaces = idf1.idfobjects['BUILDINGSURFACE:DETAILED']**
**surf_names = [surface.Name for surface in surfaces]**
geometry = idf1.idfobjects['buildingsurface:detailed'.upper()]
idf_ceiling = 'RoofCeiling'
idf_wall = =
'Wall' idf_floor = 'Floor'
for s in surfaces:
if sub in s:
print s; #print geometry[s].area
returns the error:
AttributeError: 'Idf_MSequence' object has no attribute 'fieldnames'
Using eppy to retrieve idf objects fieldnames
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:
**surfaces = idf1.idfobjects['BUILDINGSURFACE:DETAILED']**
**surf_names
= [surface.Name for surface insurfaces = idf1.idfobjects['BUILDINGSURFACE:DETAILED']
surf_names
returns the error:
AttributeError: 'Idf_MSequence' object has no attribute 'fieldnames'
Using eppy to retrieve idf objects fieldnames
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:
surfaces = idf1.idfobjects['BUILDINGSURFACE:DETAILED']surf_names = [surface.Name for surface in surfaces]
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'
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'
Using eppy to retrieve idf objects fieldnames
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'
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'
Using eppy to retrieve idf objects fieldnames
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'
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'
Using eppy to retrieve idf objects fieldnames
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()]idf1.idfobjects['buildingsurface:detailed'.upper()]idf_ceiling = 'RoofCeiling'idf_wall = 'Wall' idf_floor = 'Floor'idf_ceiling = 'RoofCeiling'
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'