Skip to content

FIND ​

FIND marks one object as if it has been selected by clicking on it with the mouse.
All previous selections are being deselected.

Syntax ​

leo-grammar
CC "Modeling" FIND objid:idValue .


# --> RESULT ecode:intValue .
CC "Modeling" FIND objid:idValue .


# --> RESULT ecode:intValue .

Parameters ​

  • objid (idValue) - the ID of the object that shall be selected is passed with objid.

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.

Details ​

A nonzero ecode value means that a model with the given ID is not opened.

DESELECT

Activity "aktiv6" is selected, "aktiv5" is not.

Hint: does not work for tabular modeling.

See Also ​

Examples ​

Versions and Changes ​

Available since ADOxx 1.3