ifcopenshell.api.alignment.add_zero_length_segment¶
Module Contents¶
- ifcopenshell.api.alignment.add_zero_length_segment.add_zero_length_segment(file: ifcopenshell.file, layout: ifcopenshell.entity_instance) bool¶
Adds a zero length segment to the end of a layout.
If the layout already has a zero length segment, nothing is changed.
- Parameters:
layout – An IfcAlignmentHorizontal, IfcAlignmentVertical, IfcAlignmentCant, IfcCompositeCurve, IfcGradientCurve, IfcSegmentedReferenceCurve
- Returns:
True if segment is added