DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Variable: AreaLinePt in Diadem 9.0

When I try to execute the following lines to set the frame I get an error saying "Invalid Vector or Matrix Index"
AreaLinePt(1,1) = 2
AreaLinePt(1,2) = 67
AreaLinePt(1,3) = 87
AreaLinePt(1,4) = 79

the PicObjMaxSize = 100.

Can you please help me to resolve this probelm.
Thanks
Priya
0 Kudos
Message 1 of 3
(3,223 Views)
Hi Priya,

use the following lines instead:

GraphObjOpen(PicObj(1))
AreaLinePt(1) = 2
AreaLinePt(2) = 67
AreaLinePt(3) = 87
AreaLinePt(4) = 79
GraphObjClose(PicObj(1))

Instead of PicObj(i) you may use the name of object i, e.g. "FreeFrame1"

Christian
0 Kudos
Message 2 of 3
(3,223 Views)
Hey Thanks a lot christian, it was very helpful. 🙂
0 Kudos
Message 3 of 3
(3,223 Views)