mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Reformat parametrized "Save" in IFC project (again)
This commit is contained in:
@@ -890,13 +890,12 @@ class ExportIFC(bpy.types.Operator):
|
|||||||
bpy.ops.wm.save_mainfile(filepath=bpy.data.filepath)
|
bpy.ops.wm.save_mainfile(filepath=bpy.data.filepath)
|
||||||
blenderbim.bim.handler.purge_module_data()
|
blenderbim.bim.handler.purge_module_data()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def description(cls, context, properties):
|
def description(cls, context, properties):
|
||||||
if properties.should_save_as:
|
if properties.should_save_as:
|
||||||
return "Export the IFC project to a selected file"
|
return "Export the IFC project to a selected file"
|
||||||
else:
|
return "Export the IFC project to this file"
|
||||||
return "Export the IFC project to this file"
|
|
||||||
|
|
||||||
|
|
||||||
class ImportIFC(bpy.types.Operator):
|
class ImportIFC(bpy.types.Operator):
|
||||||
|
|||||||
Reference in New Issue
Block a user