mdlIModelClient SetObjectPickTypeList
Sets the list of entity types that can be picked from the Graphic Window.
Syntax
mdlIModelClient_Handle SetObjectPickTypeList entityList
Application
MotionView Tcl Modify
Description
This command sets the list of object types that can be selected (or picked) from the Graphic Window. The list can be retrieved using the GetObjectPickTypeList command.
Inputs
- entityList
- List of entities that can be picked/selected using the Graphic Window.
Example
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;
mo InterpretEntity en Body b_0 "\"Body 0\""
en ReleaseHandle;
mcl SetObjectPickTypeList {Body Point}
mcl GetObjectPickTypeList
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
Errors
Returns 0 if successful, otherwise an error code.