ifcopenshell.api.alignment.get_layout_segments
¶
Module Contents¶
- ifcopenshell.api.alignment.get_layout_segments.get_layout_segments(layout: ifcopenshell.entity_instance) collections.abc.Sequence[ifcopenshell.entity_instance] ¶
Returns the IfcAlignmentSegment nested to this alignment layout
Example:
horizontal = model.by_type("IfcAlignmentHorizontal")[0] segments = ifcopenshell.api.alignment.get_layout_segments(horizontal)