mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
bim.load_schedule_of_rates_tree - remove dead code
This operator is unused anymore since d3b176e and it's using non-existent core method.
This commit is contained in:
@@ -67,7 +67,6 @@ classes = (
|
|||||||
operator.LoadCostItemTaskQuantities,
|
operator.LoadCostItemTaskQuantities,
|
||||||
operator.LoadCostItemTypes,
|
operator.LoadCostItemTypes,
|
||||||
operator.LoadProductCostItems,
|
operator.LoadProductCostItems,
|
||||||
operator.LoadScheduleOfRates,
|
|
||||||
operator.RemoveCostColumn,
|
operator.RemoveCostColumn,
|
||||||
operator.RemoveCostItem,
|
operator.RemoveCostItem,
|
||||||
operator.RemoveCostItemQuantity,
|
operator.RemoveCostItemQuantity,
|
||||||
|
|||||||
@@ -629,17 +629,6 @@ class AssignCostValue(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class LoadScheduleOfRates(bpy.types.Operator):
|
|
||||||
bl_idname = "bim.load_schedule_of_rates_tree"
|
|
||||||
bl_label = "Load Schedule of Rates"
|
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
|
||||||
cost_schedule: bpy.props.IntProperty()
|
|
||||||
|
|
||||||
def execute(self, context):
|
|
||||||
core.load_schedule_of_rates_tree(tool.Cost, schedule_of_rates=tool.Ifc.get().by_id(self.cost_schedule))
|
|
||||||
return {"FINISHED"}
|
|
||||||
|
|
||||||
|
|
||||||
class ExpandCostItemRate(bpy.types.Operator, tool.Ifc.Operator):
|
class ExpandCostItemRate(bpy.types.Operator, tool.Ifc.Operator):
|
||||||
bl_idname = "bim.expand_cost_item_rate"
|
bl_idname = "bim.expand_cost_item_rate"
|
||||||
bl_label = "Expand Cost Item Rate"
|
bl_label = "Expand Cost Item Rate"
|
||||||
|
|||||||
Reference in New Issue
Block a user