mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
BBIM: enable adding task bars visual when creating an animation
This commit is contained in:
@@ -497,10 +497,13 @@ def disable_editing_task_animation_colors(sequence):
|
|||||||
|
|
||||||
def visualise_work_schedule_date_range(sequence, work_schedule=None):
|
def visualise_work_schedule_date_range(sequence, work_schedule=None):
|
||||||
settings = sequence.get_animation_settings()
|
settings = sequence.get_animation_settings()
|
||||||
product_frames = sequence.get_animation_product_frames(work_schedule, settings)
|
if settings:
|
||||||
sequence.load_task_animation_colors()
|
product_frames = sequence.get_animation_product_frames(work_schedule, settings)
|
||||||
sequence.animate_objects(settings, product_frames)
|
sequence.load_task_animation_colors()
|
||||||
sequence.add_text_animation_handler(settings)
|
sequence.animate_objects(settings, product_frames)
|
||||||
|
sequence.add_text_animation_handler(settings)
|
||||||
|
add_task_bars(sequence)
|
||||||
|
|
||||||
|
|
||||||
def generate_gantt_chart(sequence, work_schedule):
|
def generate_gantt_chart(sequence, work_schedule):
|
||||||
json = sequence.create_tasks_json(work_schedule)
|
json = sequence.create_tasks_json(work_schedule)
|
||||||
|
|||||||
Reference in New Issue
Block a user