Fixes referent sorting

This commit is contained in:
Richard Brice
2025-08-29 14:37:17 -07:00
parent 34bf374047
commit a839183ac2
11 changed files with 29 additions and 33 deletions
@@ -142,7 +142,6 @@ def create_as_polyline(
# define stationing
name = ifcopenshell.util.alignment.station_as_string(file, start_station)
referent = ifcopenshell.api.alignment.add_stationing_referent(file, alignment, 0.0, start_station, name, alignment)
ifcopenshell.api.nest.reorder_nesting(file, referent, -1, 0)
# IFC 4.1.4.1.1 Alignment Aggregation To Project
project = file.by_type("IfcProject")[0]