vidIVideo GetUseUnitsForPlot
Returns the flag indicating if the unit system, if defined, will be used in creating plots for measures and markers.
Syntax
vidIVideo_handle GetUseUnitsForPlot
Application
HyperWorks Tcl Modify
Description
This command queries the flag determining if plots of measures and markers will be created using the unit system defined using the master measure, if available.
Example
hwi OpenStack;
hwi GetSessionHandle sess1;
sess1 GetProjectHandle proj;
proj GetPageHandle page1;
page1 SetLayout 2
page1 GetWindowHandle win1 1;
page1 GetWindowHandle win2 2;
win2 SetClientType plot
win1 GetClientHandle vid
vid AddMovie "c:/video/Marker/data/barrier0411.amf"
vid GetMovieHandle movie 1;
movie SetMasterMeasurePoints 22 100 55 333;
movie SetMasterMeasureLength 500;
vid GetMeasureHandle master 1;
master SetUnits “mm”;
vid SetUseUnitsForPlot true;
vid GetUseUnitsForPlot;
hwi CloseStack;
Errors
Success (0) or an error message is returned.
Keywords
- HyperWorks
- Tcl
- Video
- Modify