mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
black .
This commit is contained in:
@@ -36,7 +36,7 @@ def get_alignment_station(file: ifcopenshell.file, alignment: entity_instance) -
|
||||
|
||||
parent_alignment = ifcopenshell.api.alignment.get_parent_alignment(alignment)
|
||||
if parent_alignment:
|
||||
start_station = ifcopenshell.api.alignment.get_alignment_station(file,parent_alignment)
|
||||
start_station = ifcopenshell.api.alignment.get_alignment_station(file, parent_alignment)
|
||||
else:
|
||||
components = ifcopenshell.util.element.get_components(alignment)
|
||||
for c in components:
|
||||
@@ -44,5 +44,4 @@ def get_alignment_station(file: ifcopenshell.file, alignment: entity_instance) -
|
||||
start_station = ifcopenshell.util.element.get_pset(c, name="Pset_Stationing", prop="Station")
|
||||
break
|
||||
|
||||
|
||||
return start_station
|
||||
|
||||
Reference in New Issue
Block a user