04-02-2008 02:33 AM
But how can i edit z-Matrix in my script?
By reading the manual i'm not sure, which variable i have to use. But i think it's "D3ChnZ", my Problem is how?
thx for Help
Stefan
04-02-2008 03:02 AM
Hello Stefan,
What do you mean by z-name? Do you mean the label which describes the z-axis?
Then you should replace your msgbox statement with:
D3AxisTxt(3) = "yourLabel [your unit]"
HTH, regards
Patrick
04-02-2008 03:14 AM
Hello Patrick,
No that is not the Problem.
If you right click on your 3D-Graphic, than properties (in German "Eigenschaften") you can select channels for each Axis and i have to change the z-Matrix (Channellist) within a script.
thx
StefanF
04-02-2008 03:24 AM
OK, here is the statement to define your channels:
Call GraphObjOpen("3DAxis1")
Call GraphObjOpen("3DObj1_Curve1")
D3ChnX(1) = CNo(XChn)
D3ChnY(1) = CNo(YChn)
for i = 1 to NoZChn
ZChni = i + ZChnStart - 1
D3ChnZ(i) = ZChni 'set Matrix of Z-Channel
next
Call GraphObjClose("3DObj1_Curve1")
Call GraphObjClose("3DAxis1")
Regards
Patrick