mdlIFlexbody GetNumInterfaceNodes

Retrieves the number of interface nodes in the flexbody.

Syntax

mdlIFlexbody_Handle GetNumInterfaceNodes

Application

MotionView Tcl Query

Description

This command retrieves the number of interface 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 GetNumInterfaceNodes
bflex ReleaseHandle;
m ReleaseHandle;
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

None.