mdlIModel GetCurrentAnalysis
Gets the variable name of the current analysis.
Syntax
mdlIModel_handle GetCurrentAnalysis
Application
MotionView Tcl Query
Description
This command retrieves the variable name of the current analysis. If required, the variable name can be stored. This command is useful only when there are analysis entities already present. To check this, go to the SYSTEMS/ANALYSES panel and check to see if there are any analysis entities present.
Example
hwi OpenStack
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set activePageNum [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $activePageNum
set activeWinNum [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $activeWinNum
myWindowName GetClientHandle myClientName
myClientName GetModelHandle myModelName
myModelName GetCurrentAnalysis
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack
Errors
None.