ifcopenshell.util.sequence#

Module Contents#

ifcopenshell.util.sequence.count_working_days(start, finish, calendar)#
ifcopenshell.util.sequence.derive_calendar(task)#
ifcopenshell.util.sequence.derive_date(task, attribute_name, date=None, is_earliest=False, is_latest=False)#
ifcopenshell.util.sequence.get_all_nested_tasks(task)#
ifcopenshell.util.sequence.get_calendar(task)#
ifcopenshell.util.sequence.get_direct_task_outputs(task)#
ifcopenshell.util.sequence.get_nested_tasks(task)#
ifcopenshell.util.sequence.get_parent_task(task)#
ifcopenshell.util.sequence.get_recent_working_day(start, duration_type, calendar)#
ifcopenshell.util.sequence.get_root_tasks(work_schedule)#
ifcopenshell.util.sequence.get_root_tasks_ids(work_schedule)#
ifcopenshell.util.sequence.get_sequence_assignment(task, sequence='successor')#
ifcopenshell.util.sequence.get_soonest_working_day(start, duration_type, calendar)#
ifcopenshell.util.sequence.get_start_or_finish_date(start, duration, duration_type, calendar, date_type='FINISH')#
ifcopenshell.util.sequence.get_task_inputs(task, is_deep=False)#
ifcopenshell.util.sequence.get_task_outputs(task, is_deep=False)#
ifcopenshell.util.sequence.get_task_resources(task, is_deep=False)#
ifcopenshell.util.sequence.get_task_work_schedule(task)#
ifcopenshell.util.sequence.get_tasks_for_product(product, schedule=None)#

Get all tasks assigned to or referenced by the given product.

Args:

product: An object that is assigned tasks or references tasks. schedule: An optional string representing the schedule name to filter tasks by.

Returns:

A tuple of two lists: - The first list contains all tasks assigned to the product. - The second list contains all tasks referenced by the product that are part of the given schedule.

ifcopenshell.util.sequence.get_work_schedule_tasks(work_schedule)#
ifcopenshell.util.sequence.guess_date_range(work_schedule)#
ifcopenshell.util.sequence.has_task_inputs(task)#
ifcopenshell.util.sequence.has_task_outputs(task)#
ifcopenshell.util.sequence.is_calendar_applicable(day, calendar)#
ifcopenshell.util.sequence.is_day_in_work_time(day, work_time)#
ifcopenshell.util.sequence.is_work_time_applicable_to_day(work_time, day)#
ifcopenshell.util.sequence.is_working_day(day, calendar)#
ifcopenshell.util.sequence.offset_date(start, duration, duration_type, calendar)#