Rename bim.import_csv -> bim.import_work_schedule_csv

To make name less generic
This commit is contained in:
Andrej730
2025-07-24 16:49:56 +05:00
parent 516f8cdb15
commit ba3e5ae28c
2 changed files with 5 additions and 5 deletions
@@ -83,7 +83,7 @@ classes = (
operator.GenerateGanttChart,
operator.GuessDateRange,
operator.GoToTask,
operator.ImportCSV,
operator.ImportWorkScheduleCSV,
operator.ImportMSP,
operator.ImportP6,
operator.ImportP6XER,
@@ -164,7 +164,7 @@ def menu_func_export(self, context):
def menu_func_import(self, context):
self.layout.operator(operator.ImportCSV.bl_idname, text="Work Schedule (.csv)")
self.layout.operator(operator.ImportWorkScheduleCSV.bl_idname, text="Work Schedule (.csv)")
self.layout.operator(operator.ImportP6.bl_idname, text="P6 (.xml)")
self.layout.operator(operator.ImportP6XER.bl_idname, text="P6 (.xer)")
self.layout.operator(operator.ImportPP.bl_idname, text="Powerproject (.pp)")
@@ -667,9 +667,9 @@ class DisableEditingWorkCalendar(bpy.types.Operator):
return {"FINISHED"}
class ImportCSV(bpy.types.Operator, tool.Ifc.Operator, ImportHelper):
bl_idname = "bim.import_csv"
bl_label = "Import CSV"
class ImportWorkScheduleCSV(bpy.types.Operator, tool.Ifc.Operator, ImportHelper):
bl_idname = "bim.import_work_schedule_csv"
bl_label = "Import Work Schedule CSV"
bl_description = "Import work schedule from the provided .csv file."
bl_options = {"REGISTER", "UNDO"}
filename_ext = ".csv"