If you're reading this, we've just migrated servers! If anything looks broken please email dion@thinkmoult.com :)
IfcBuildingElement class attributes
All building element have som direct attributes which do describe the object but are not in a pset but in the entity directly. A IfcDoor for example has
Name, Description, ObjectType, OverallHeight , OverallWidth, PredefinedType, OperationType, SINGLE_SWING_LEFT, UserDefinedOperationType
Is there a possiblility to get all these attributes without implementing the name of them directly? Something like we have with the comon psets definition.
Tagged:
Comments
We had this discussion recently with theoryshaw and Moult. I documented it on wiki : https://wiki.osarch.org/index.php?title=IfcOpenShell_code_examples#Exploring_IFC_schema
great :-)
I noticed that the example in the wiki doesn't include a check for whether the attribute is derived. Note that this can be important if you are doing bulk checks. Use the
element.derived()
function.What is the difference between a derived attribute and a not derived attribute.
Derived is a parent's class attribute
not in sense of coding but in sens of ifc. Which class attribute is derived and which not?
Does this mean a derived attribute is the same as a referenced attribute?
A described by Wikipedia:
An example may be IfcGeometricRepresentationSubContext, which if you read the express definition, has 4 derived attributes. It is important to check if you are automatically setting attribute values since it is not possible to set a value to a derived attribute.
Hello to all the contributors. All your responses give a super valueable information.
I would like to ask** if there is any util in ifcopenshell to get the inverse attributes of an entity**(python)as they are extremely useful to understand how the element is positionned in the schema and its relations. In the page
https://wiki.osarch.org/index.php?title=IfcOpenShell_code_examples#Exploring_IFC_schema
explicit and derived attributes are retrived but I miss a list of the inversed. Any idea?
I'm a newbie, but the following might help.
I've attached a BlenderBIM/IFC file to try it out.
Output...
Awesome that you added it to the wiki!