ifcopenshell.api.alignment.create_as_polyline¶
Module Contents¶
- ifcopenshell.api.alignment.create_as_polyline.create_as_polyline(file: ifcopenshell.file, name: str, points: collections.abc.Sequence[ifcopenshell.entity_instance], start_station: float = 0.0) ifcopenshell.entity_instance¶
Creates a new IfcAlignment with an IfcPolyline representation.
The IfcAlignment is aggreated to IfcProject
- Parameters:
file
name – name assigned to IfcAlignment.Name
points – sequence of points defining the polyline
start_station – station value at the start of the alignment
- Returns:
Returns an IfcAlignment