Skip to content

SET_ALL_OBJS_VISIBLE

SET_ALL_OBJS_VISIBLE sets the single object visibility (see SET_OBJ_VISIBLE) for all objects of a model.

Syntax

leo-grammar
CC "Modeling" SET_ALL_OBJS_VISIBLE [ model:idValue ] [ visible:boolVal ] .


# --> RESULT ecode:intValue .
CC "Modeling" SET_ALL_OBJS_VISIBLE [ model:idValue ] [ visible:boolVal ] .


# --> RESULT ecode:intValue .

Parameters

  • modelid (idValue, optional) -
  • visible (boolVal, optional) -

Returns

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

Details

The single object visibility is independent of the view mode visibility. That means if an object has been hidden by SET_OBJ_VISIBLE or SET_ALL_OBJS_VISIBLE with visible:0 it just can be shown again by SET_OBJ_VISIBLE or SET_ALL_OBJS_VISIBLE with visible:1. An object which is invisible in the current view mode can not be shown by SET_OBJ_VISIBLE or SET_ALL_OBJS_VISIBLE.
Hidden objects are not accessable. It is not needed to lock the mouse access for them.

See Also

SET_OBJ_VISIBLE

Examples

asc
CC "Modeling" SET_ALL_OBJS_VISIBLE visible:0
CC "Modeling" SET_ALL_OBJS_VISIBLE visible:0

Versions and Changes

Available since ADOxx 1.3