mdlIModelClient IsPickingEnabled
Checks whether or not the picking of an entity from the graphics window is enabled.
Syntax
mdlIModelClient_handle IsPickingEnabled
Application
MotionView Tcl Modify
Description
This command evaluates whether the picking/selection of an entity from the graphics window is enabled or not.
Example
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl IsPickingEnabled
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
Errors
Returns True (if picking is enabled) or False (if picking is not enabled). If there is an error, an error code will be returned.