alignment: rename get_referent_nest to get_stationing_nest

This commit is contained in:
Richard Brice
2026-08-01 12:32:07 -07:00
parent a11ebdf8c4
commit 80cc603932
11 changed files with 46 additions and 40 deletions
@@ -114,7 +114,7 @@ def add_stationing_referent(
pset_stationing = ifcopenshell.api.pset.add_pset(file, product=referent, name="Pset_Stationing")
ifcopenshell.api.pset.edit_pset(file, pset=pset_stationing, properties=properties)
nest = ifcopenshell.api.alignment.get_referent_nest(file, alignment)
nest = ifcopenshell.api.alignment.get_stationing_nest(file, alignment)
if nest is None:
nest = file.createIfcRelNests(
GlobalId=ifcopenshell.guid.new(), RelatingObject=alignment, RelatedObjects=(referent,)