Roof

class compas_ifc.entities.Roof(entity, model)

Bases: BuildingElement

Inherited Methods

__init__

attribute

Get the value of a named attribute.

classifications

External sources of information associated with this product.

contained_in_structure

Return the spatial structure containing this element.

container

Get the container of the building element.

decomposes

Return the relation that decomposes this element.

factory

Factory function for creating an compas_ifc entity object from an Ifc entity, the function finds closest matched class from the bottom of inherentance.

has_attribute

Verify that the entity has a specific attributes.

has_property

Verify that this entity has a specific property.

inheritance

Find the ancestors of the current entity up to the root element.

is_a

is_contained

Verify that this building element is contained in a spatial structure.

is_containment_hierarchical

Verify that the spatial containment of this building element is hierarchical, meaning that the element is contained in no more than one (1) spatial element.

is_decomposed_by

Return the relation that this element is decomposed by.

materials

The materials associated with this product.

print_inheritance

Print the entity inheritance as a nested list.

print_spatial_hierarchy

Print the spatial hierarchy of this element.

property

Get the value of the property with the given name.

pset

Get the property set with the given name.

set_attribute

Set the value of a named attribute.

set_attributes

Set the values of multiple attributes.

set_property

Set the value of the property with a given name.

show

traverse

Traverse children of this element.

traverse_ancestor

Traverse ancestors of this element.

traverse_branch

Traverse the spatial branch of this element.