Community
I require additional plot showing temperature at which weld lines form. I cannot figure out how to call for "Highlight Dataset" to choose "Temperature at Flow Front" in the plot properties. I've looked through the Synergy API and yet to find a solution, please help if you have a solution.
Thanks in advance.
Here's the script that creates a new Weld Line Plot with opaque model:
'%RunPerInstance
SetLocale("en-us")
Dim SynergyGetter, Synergy
On Error Resume Next
Set SynergyGetter = GetObject(CreateObject("WScript.Shell").ExpandEnvironmentStrings("%SAInstance%"))
On Error GoTo 0
If (Not IsEmpty(SynergyGetter)) Then
Set Synergy = SynergyGetter.GetSASynergy
Else
Set Synergy = CreateObject("synergy.Synergy")
End If
Synergy.SetUnits "Metric"
'Weld Lines - Temperature Plot
Set PlotManager = Synergy.PlotManager()
Set Plot = PlotManager.CreatePlotByDsID2(1722, 10)
Plot.SetComponent 3
Plot.SetMeshFill 1
Plot.SetPlotMethod 2
Plot.Regenerate