cycleCheck
From time to time, you may get a warning such as "Cycle on <attribute name> may not evaluate as expected". Thisduetoapossible cycle in theDG;an attributevalue depends on a value that in turn depends on it. This can result in the improper evaluation of an attribute in a dynamic simulation, and therefore affect the resulting detail in Chapter 12.
- You can check if an attribute is actually in a cycle by using the MEL command, cyclecheck, as follows:
- Choose Window ^ General Editors ^ Script editor. The Script Editor and MEL
- In the Command Input (lower) field of the Script Editor, type the following MEL commands wi" be discussed in script:
" f ("c ycleCheck < attribute name>" > 0) {
print( <cattribute name> is in a cycle\n" );
else print "no cycle\n" ;
3. Hit Enter on your keyboard's numeric keypad to execute the script.
One of the two messages, "cattribute name> is in a cycle" or "no cycle" with appear, or print, in the History (upper) field of the Script Editor and in the Command Feedback field of the Command Line.
However, even if there is no cycle, you will continue to get the warning. To disable the warning, use the cyclecheck command to turn off checking:
In the Command Input (lower) field of the Script Editor, type the following:
Post a comment