IS_INCLUDED_IN_ACTIVE_VARIANT ​
IS_INCLUDED_IN_ACTIVE_VARIANT determines whether or not an object is included in the active variant of its model.
Syntax ​
leo-grammar
CC "Drawing" IS_INCLUDED_IN_ACTIVE_VARIANT objid:idValue
# --> RESULT isincluded:boolValue ecode:intValue
Parameters ​
objid
(idValue) - the ID of a modeling object or of a connector.
Returns ​
ecode
(intValue) - Contains the error code or is 0 in case of success.isincluded
(boolValue) - is 1 if the object in included in the active variant of the object's model and 0 otherwise.
Details ​
As for all commands of the "Drawing" message port, it is not required here to have a model window opened.
See Also ​
Examples ​
Versions and Changes ​
Available since ADOxx 1.3