Hi everybody,
In my script I wanted to use the function SetLeadingCurve für 2DCurves
If I am using "Call View.Sheets("Blatt 1").Areas(1).DisplayObj.Curves2D.SetLeadingCurve(9)" I am able to determine the right one I want.
Instead of using a number in View, I would like to use the channel name. The description of the function say "NameOrIndex"
I tried "Call View.Sheets("Blatt 1").Areas(1).DisplayObj.Curves2D.SetLeadingCurve("Group/Name") or only "Call View.Sheets("Blatt 1").Areas(1).DisplayObj.Curves2D.SetLeadingCurve("Name") it doesn't work.
What is the right syntax for using the name of the channel (curve)?
Thanks!
Exert from the Help of script
Bestimmt die Leitkurve in einem 2D-Achsensystem von DIAdem-VIEW.
Set o2DCurve = Object.SetLeadingCurve(NameOrIndex)
Object |
2DCurves Objekt mit dieser Methode |
NameOrIndex |
Variant Bestimmt den Namen oder den Index der neuen Leitkurve. |
o2DCurve |
2DCurve Zurückgeliefertes Objekt |