vidIMeasurePlot AddCurvesToExist

Adds the curves of the selected measures to the specified existing plot window of the specified plot type.

Syntax

plot_handle AddCurvesToExist plotwin plottype

Application

HyperWorks Tcl Modify

Description

This command adds the curves of the selected measures to the specified existing plot window of the specified plot type.

Inputs

plotwin
Plot window handle to which to add all the curves.
plottype
Options include:
0
Magnitude vs. Time
1
X vs. Time
2
Y vs. Time
3
Y vs. X
4
X vs. Y

Example

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle p1 1
p1 SetLayout 3
p1 GetWindowHandle w1 1
w1 SetClientType video
p1 GetWindowHandle w2 2
w2 SetClientType plot
p1 GetWindowHandle w3 3
w3 SetClientType plot        
w1 GetClientHandle v_handle
v_handle AddMovie abc.amf
v_handle AddTrackingMarker tm1
tm1 SetName Hello1
tm1 SetTrackPoint 100 200
tm1 SetInitialFrameIndex 0
v_handle AddTrackingMarker tm2
tm2 SetName Hello2
tm2 SetTrackPoint 400 300
tm2 SetInitialFrameIndex 0
v_handle CalculateTrackingData
v_handle GetBPCHandle bpc_handle
bpc_handle PlotForAllCurves w2
v_handle AddTrackingMarker tm3
tm3 SetName Hello3
tm3 SetTrackPoint 100 250
tm3 SetInitialFrameIndex 0
v_handle CalculateTrackingData
bpc_handle AddCurvesToExist w2
hwi ReleaseAllHandles
hwi CloseStack

Errors

Returns 0 if successful, otherwise an error code.

Keywords

  • HyperWorks
  • MediaView
  • Tracing
  • Tracking System