mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
sequence.get_root_tasks_ids - remove unused method
This commit is contained in:
@@ -307,10 +307,6 @@ def get_root_tasks(work_schedule: ifcopenshell.entity_instance) -> list[ifcopens
|
|||||||
return [obj for rel in work_schedule.Controls for obj in rel.RelatedObjects if obj.is_a("IfcTask")]
|
return [obj for rel in work_schedule.Controls for obj in rel.RelatedObjects if obj.is_a("IfcTask")]
|
||||||
|
|
||||||
|
|
||||||
def get_root_tasks_ids(work_schedule: ifcopenshell.entity_instance) -> list[int]:
|
|
||||||
return [obj.id() for rel in work_schedule.Controls for obj in rel.RelatedObjects if obj.is_a("IfcTask")]
|
|
||||||
|
|
||||||
|
|
||||||
def guess_date_range(work_schedule: ifcopenshell.entity_instance):
|
def guess_date_range(work_schedule: ifcopenshell.entity_instance):
|
||||||
earliest = None
|
earliest = None
|
||||||
latest = None
|
latest = None
|
||||||
|
|||||||
Reference in New Issue
Block a user