You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Current »
The InState function checks if a particular function is in the state with the given name:
InState(in object : any[1], in stateName : String[1]): Boolean[1]
Both arguments of the function are required. For example:
if (InState(ccobj, "Operating")) { force = ccForce; } else { force = acc * 2; }
No Magic, Inc. Copyright © 1998 – 2024 No Magic, Incorporated, a Dassault Systèmes company – All Rights Reserved.