Assembly: fix doCommand code in CommandExportASMT.py
See: https://forum.freecad.org/viewtopic.php?t=94952
This commit is contained in:
@@ -74,6 +74,8 @@ class CommandExportASMT:
|
||||
)
|
||||
|
||||
if filePath:
|
||||
Gui.addModule("UtilsAssembly")
|
||||
Gui.doCommand("assembly = UtilsAssembly.activeAssembly()")
|
||||
Gui.doCommand(f'assembly.exportAsASMT("{filePath}")')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user