Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
This is not doable. Once a model is stopped any other action from a dashboard is not evaluated any more, because the model is not runnung.
A Stop suspends any code execution from the model. An external action is needed to resume a model run.
Try it with code snippet
applicationcommand("run")
to get a model run by hitting a dashboard button.
Here is an code example for a dashboard button. Edit mode must be deactivated to fulfill action.
treenode link = node("..>objectfocus+", c);
runstop++; // increment a global variable or any other available label, node value or a table cell,..
if (runstop%2) /* modulus operator to get values of 0 as false or 1 as true*/
applicationcommand("run"); //true evaluated as run
else applicationcommand("stop"); // false as stop
runstop is a global variable in this code. Start value is set to 0.