mdlIModelClient GetObjectPickTypeList

Gets the entity type (body, point, joint, etc.) that can currently be picked by clicking in the graphics area.

Syntax

mdlIModelClient_Handle GetObjectPickTypeList

Application

MotionView Tcl Query

Description

This command retrieves the currently selected entity pick mode.

Example

Copy the file slider_crank.mdl into the present working directory.

The present working directory can be identified by using the pwd command in the command window.
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl CreateModel "slider_crank.mdl" mdl
set temp [mcl GetObjectPickTypeList] 
puts "The Current Pick Type is $temp"
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

None.