mdlIFlexbody GetNumNodes

Retrieves the number of nodes in the flexbody.

Syntax

mdlIFlexbody_Handle GetNumNodes

Application

MotionView Tcl Query

Description

This command retrieves the number of nodes in the flexible body.

Example

Copy the file slider_crank_gmesh.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_gmesh.mdl"
mc GetModelHandle m
m GetChildHandle bflex b_3.flex
bflex GetNumNodes
bflex ReleaseHandle;
m ReleaseHandle;
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

None.