- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm creating a macro for the deflection results.
During the process of obtaining the final result, I am having difficulty with the following problem.
In general, the order of macro application for plotting deflection, all effects:X Component is as follows.
Select New Plot--> Select Probe Plot in Deflection, all effects:X Component-->The result shows a negative value as shown below.
The created macro is as follows.
Set PlotManager = Synergy.PlotManager()
Set Plot = PlotManager.CreatePlotByDsID2(6250, 19)
Plot.SetComponent 0
Set Viewer = Synergy.Viewer()
Set PlotManager_1 = Synergy.PlotManager()
Set Plot_1 = PlotManager_1.FindPlotByName2("Deflection, all effects:Path Plot", "Deflection, all effects")
Set Viewer_1 = Synergy.Viewer()
Viewer_1.HidePlot Plot_1
Viewer.ShowPlot Plot
Set Viewer = Synergy.Viewer()
Set Plot = Viewer.ActivePlot()
Plot.SetPlotMethod 19
Plot.SetPlotNodesFromString "N1111 N1112 N1113 N1114 N1115"
Set StudyDoc = Synergy.StudyDoc()
StudyDoc.Save
I expected to get the same result by running the macro.
However, the generated probe plot results did not show deflection results in the X direction.
This result is a positive value as a result of Vector in Plot Properties being selected as Magnitude.
I want to get the result for Deflection, all effects:X Component using a macro.
I can't find any API code explanation for this.
So, I want to know what the API code is for selecting vector-x.
Please explain how to solve this problem.
Solved! Go to Solution.