::IsSystemTyped
This command will be used to determine whether a particular system or analysis or assembly is typed or not. In order for a container to be typed, the user must have specified either a type after the TYPED keyword in the MDL definition or specified a type in the container’s “Properties” tab in the GUI.
Syntax
::model::IsSytemTyped argH
Application
MotionView Tcl
Description
This command will be used to determine whether a particular system or analysis or assembly is typed or not. In order for a container to be typed, the user must have specified either a type after the TYPED keyword in the MDL definition or specified a type in the container’s “Properties” tab in the GUI.
Inputs
- argH
- The handle for the system (container) entity which we need to determine if it is typed or not.
Example
# after having selected a system
set sys_varname [::model::GetPanelSelection System]
::model::GetHandleFromFullVarname sysHandle $sys_varname
::model::IsSystemTyped sysHandle
sysHandle ReleaseHandle
Errors
On successful execution of the command it will return true if typed, otherwise false.