diff --git a/src/blenderbim/blenderbim/core/cost.py b/src/blenderbim/blenderbim/core/cost.py index f995ad12c0..b4dddf8f07 100644 --- a/src/blenderbim/blenderbim/core/cost.py +++ b/src/blenderbim/blenderbim/core/cost.py @@ -249,7 +249,7 @@ def clear_cost_item_assignments(ifc, cost, cost_item, related_object_type): def select_unassigned_products(ifc, cost, spatial): - spatial.deselect_all() + spatial.deselect_objects() products = ifc.get().by_type("IfcElement") cost_schedule = cost.get_active_cost_schedule() selection = [product for product in products if not cost.has_cost_assignments(product, cost_schedule)] diff --git a/src/blenderbim/blenderbim/core/sequence.py b/src/blenderbim/blenderbim/core/sequence.py index f25bf70c7e..4a2b625cf1 100644 --- a/src/blenderbim/blenderbim/core/sequence.py +++ b/src/blenderbim/blenderbim/core/sequence.py @@ -443,7 +443,7 @@ def select_work_schedule_products(sequence, spatial, work_schedule=None): def select_unassigned_work_schedule_products(ifc, sequence, spatial): - spatial.deselect_all() + spatial.deselect_objects() products = ifc.get().by_type("IfcElement") work_schedule = sequence.get_active_work_schedule() schedule_products = sequence.get_work_schedule_products(work_schedule) diff --git a/src/blenderbim/blenderbim/core/tool.py b/src/blenderbim/blenderbim/core/tool.py index b2080f2125..29eb554456 100644 --- a/src/blenderbim/blenderbim/core/tool.py +++ b/src/blenderbim/blenderbim/core/tool.py @@ -165,8 +165,7 @@ class Cost: def expand_cost_item_rate(cls, cost_item): pass def expand_cost_item(cls, cost_item): pass def expand_cost_items(cls): pass - def export_cost_schedules(cls, format): pass - def export_cost_schedules(cls, format): pass + def export_cost_schedules(cls, format, cost_schedule): pass def format_unit(cls, unit): pass def get_active_cost_item(cls): pass def get_active_cost_schedule(cls): pass