mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
mention supported formats in export window
as currently there is no other ui to indicate that other formats besides .ifc are supported and I guess we just expect users to change extension in the saved filename https://i.imgur.com/Qa6OlmR.png
This commit is contained in:
@@ -1237,6 +1237,10 @@ class ExportIFCBase:
|
|||||||
if bpy.data.is_saved:
|
if bpy.data.is_saved:
|
||||||
layout.prop(self, "use_relative_path")
|
layout.prop(self, "use_relative_path")
|
||||||
|
|
||||||
|
layout.separator()
|
||||||
|
layout.label(text="Supported formats for export:")
|
||||||
|
layout.label(text=".ifc, .ifczip, .ifcjson")
|
||||||
|
|
||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
if not tool.Ifc.get():
|
if not tool.Ifc.get():
|
||||||
bpy.ops.wm.save_mainfile("INVOKE_DEFAULT")
|
bpy.ops.wm.save_mainfile("INVOKE_DEFAULT")
|
||||||
|
|||||||
Reference in New Issue
Block a user