mdlIModelClient SetStandardIncludeFile

Sets the standard include file for the filename specified.

Syntax

mdlIModelClient_Handle SetStandardIncludeFile filename, arg_Profile

Application

MotionView Tcl Modify

Description

This command sets the standard include file for the filename specified.

Inputs

filename
The filename of the standard include file for the specified profile.
arg_Profile
Valid arguments are:
User
Settings specified for the user profile
Pref
Settings specified in the preference file

Example

Copy the standard include file into the present working directory, rename it as file_standard, and run the example below:
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
mcl SetStandardIncludeFile file_standard User
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;

Errors

Returns 0 if successful.