poIIsoValueCtrl ExportSTL
Exports an STL format ASCII file.
Syntax
poIIsoValueCtrl_handle ExportSTL value
Application
HyperView Tcl Modify
Description
This command exports an STL format ASCII file.
Inputs
- value
- The path of the STL file to be written.
Example
To export an STL
file:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $windowIndex
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex
myModelName GetResultCtrlHandle myResultName
myResultName GetContourCtrlHandle myContourName
myResultName GetIsoValueCtrlHandle myIsoName
myIsoName ExportSTL "C:/temp/mystl"
Errors
Returns 0 if successful, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.