Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There are interesting CommandIDs available in CommandDefinitions.
"StartTranscriptingCommand"
"StopTranscriptingCommand"
It feels like writing out the contents of the operation as Script, but it does not work well.
(Please be careful when executing. Fusion360 may stop.)
import adsk.core, traceback
def run(context):
ui = None
try:
cmdId = 'StartTranscriptingCommand'
ui = adsk.core.Application.get().userInterface
cmd = ui.commandDefinitions.itemById(cmdId)
cmd.execute()
except:
if ui:
ui.messageBox('Failed:\n{}'.format(traceback.format_exc()))
Does anyone have any information?
Thank you in advance.
Solved! Go to Solution.
