mdlIModelClient SetObjectPickExceptionList
Sets the list of objects that are an exception to the objects that can be picked from the Graphic Window.
Syntax
mdlIModelClient_handle SetObjectPickExceptionList entity
Application
MotionView Tcl Modify
Description
This command sets the list of objects that are an exception to the objects that can be picked from the Graphic Window.
Inputs
- entity
- The object to be added into the exception list.
Example
To set the list of objects that are an exception to the objects that can be picked from the
Graphic
Window:
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl GetRootObjectHandle mo
mo InterpretEntity en Point p_0 "\"Point 0\""
en ReleaseHandle;
mcl SetObjectPickExceptionList p_0
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
Errors
Returns 0 if successful, otherwise an error code.