Hi
Is it possible to add Node IDs at XY Path plot via API as well ?
My code looks like:
SetLocale("en-us")
Set Synergy = CreateObject("synergy.Synergy")
Synergy.SetUnits "Metric"
Set StudyDoc = Synergy.StudyDoc()
Set EntList = StudyDoc.CreateEntityList()
Set Project = Synergy.Project()
Set PlotManager = Synergy.PlotManager()
Str = Project.GetFirstStudyName()
While Str <> ""
Project.OpenItemByName Str, "study"
Set StudyDoc = Synergy.StudyDoc()
StudyName = Str
Set Plot = PlotManager.CreatePlotByDsID2(1630, 23)
EntList.SelectFromString "N150493 N151968 N150297 N156517 N151057 N153974 N156271 N154046" '* popoulate the
Plot.AddXYPlotCurve(EntList) '* plot the curve of entity
Set Viewer = Synergy.Viewer()
Viewer.ShowPlot Plot
Set Plot = Viewer.ActivePlot()
Plot.SaveXYPlotCurveData Name
Str = Project.GetNextStudyName( Str )
StudyDoc.save
StudyDoc.close
WEnd