Message 1 of 4
Text commands result/error code/status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to get an exit code or return value from text commands?
In various command shells (Powershell, Bash, ..) it is possible to check the exit code after a command has run to programmatically determine if it was successful:
cat non-existing-file.txt
echo $? # Echo the exit code, which will be non-zero
Is this possible in Fusion? Either as a text command that can be run or as an API function.
Thomas @ Axalea
My Add-ins (Windows)
⌨️ Toolbar & Shortcuts Editor: Assign any key (and some mouse buttons) as keyboard shortcut!
⤴️ Extra Shortcuts: Assign shortcut to Front, Home view, Look At, Activate Component and more!
⭐ My Logo: Put your logo in the Fusion window (for presentations and streaming)
Axalea Notes - Annotate your model with notes
My Add-ins (Windows)
⌨️ Toolbar & Shortcuts Editor: Assign any key (and some mouse buttons) as keyboard shortcut!
⤴️ Extra Shortcuts: Assign shortcut to Front, Home view, Look At, Activate Component and more!
⭐ My Logo: Put your logo in the Fusion window (for presentations and streaming)
Axalea Notes - Annotate your model with notes