SpatialElement
- class compas_ifc.entities.SpatialElement(entity, model)
Bases:
Product
Class representing an IFC spatial element. A spatial element is a product that is used to spatially organize other products.
Methods
Returen contained elements of a spatial element.
Return True if the spatial element is hierarchical, which means it can have only one decomposition parent.
Inherited Methods
Get the value of a named attribute.
External sources of information associated with this product.
Return the relation that decomposes this element.
Factory function for creating an compas_ifc entity object from an Ifc entity, the function finds closest matched class from the bottom of inherentance.
Verify that the entity has a specific attributes.
Verify that this entity has a specific property.
Find the ancestors of the current entity up to the root element.
Return the relation that this element is decomposed by.
The materials associated with this product.
Print the entity inheritance as a nested list.
Print the spatial hierarchy of this element.
Get the value of the property with the given name.
Get the property set with the given name.
Set the value of a named attribute.
Set the values of multiple attributes.
Set the value of the property with a given name.
Traverse children of this element.
Traverse ancestors of this element.
Traverse the spatial branch of this element.