mdlIModelClient ForceDrawOfImplicitMarker

Used to draw/display the implicit marker graphic of the selected marker.

Syntax

mdlIModelClient_Handle ForceDrawOfImplicitMarkerforce, material_name

Application

MotionView Tcl Modify

Description

This command draws/displays the implicit marker graphic of the selected marker, and returns (0) if successful.

Inputs

force
True or False is returned for this argument.
material_name
The name of the material.

Example

hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl CreateBlankModel

mcl GetModelHandle m

m InterpretEntity p0 Point p_0 "\"A Pt\"";
m InterpretSet SetPoint p_0 0 0 0;

m InterpretEntity b0 Body b_0 "\"A\"" p_0;
m InterpretEntity j0 BallJoint j_ball "\"Ball\"" b_0 B_Ground p_0;

m GetChildHandle jmim j_ball.i.implicit;
jmim ForceDrawOfImplicitMarker true MODEL.mat_aluminum_alloy;
m Evaluate;

jmim ReleaseHandle;
p0 ReleaseHandle;
b0 ReleaseHandle;
j0 ReleaseHandle;
m ReleaseHandle;
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

None.