ifcopenshell.api.alignment.name_segments

Module Contents

ifcopenshell.api.alignment.name_segments.name_segments(prefix: str, layout: ifcopenshell.entity_instance) None

Sets the IfcAlignmentSegment.Name attribute using a prefix and sequence number (e.g. “H1” for horizontal, “V1” for vertical, “C1” for cant)

Parameters:
  • prefix – The naming prefix

  • layout – The layout alignment whose segments are to be named. This should be a IfcAlignmentHorizontal, IfcAlignmentVertical or IfcAlignmentCant