mdlIModelClient GetCreateOption
Gets the value of the option specified for creating a model.
Syntax
mdlIModelClient_Handle GetCreateOptionoption
Application
MotionView Tcl Query
Description
This command retrieves the value of the option specified for creating a model.
Inputs
- option
- Valid arguments are: data, include, append_to_model, and topology. True or False is returned for the data, include, and append_to_model arguments; and MDL is returned for the topology argument.
Example
set temp 0
hwi OpenStack
hwi GetSessionHandle sess1
sess1 GetProjectHandle pro1
pro1 GetPageHandle pa1 [pro1 GetActivePage]
pa1 GetWindowHandle win1 [pa1 GetActiveWindow]
win1 GetClientHandle mcl
set temp [mcl GetCreateOption data]
if {$temp == "true" } {
puts "Create option data is active"
} else {
puts "Create option data is not active"
}
mcl ReleaseHandle;
win1 ReleaseHandle;
pa1 ReleaseHandle;
pro1 ReleaseHandle;
sess1 ReleaseHandle;
hwi CloseStack;
Errors
None.