It's the same thing... Actually, yes, I could use get_argument() there, don't know why I didn't...bernd wrote:For the relations instead get.argumet() you used getAttr(r,"RelatingObject"), getAttr(r,"RelatingStructure"), getAttr(r,"RelatedOpeningElement") ... I could not figure out how they do work? lines 160 to 170 in importIFC.py
One way to get a "generic" IFC schema, is this:
Code: Select all
import importIFC,ifcReader
schema = ifcReader.IfcSchema(importIFC.getSchema())
Code: Select all
schema.getAttributes('IFCWALLSTANDARDCASE')