the standard properties are accessible through Instance#trans or (more general) Instance#cplx_trans. The properties deliver transformation objects that you can ask for rotation angle, displacement vector, magnification etc.
Hi Matthias,
Thanks for the help. I was able to figure this out. I just had to use
inst.trans.disp.x -> for getting x position
inst.trans.disp.y -> for getting y position
inst.trans.angle -> for getting angle
Comments
Hi Amar,
the standard properties are accessible through Instance#trans or (more general) Instance#cplx_trans. The properties deliver transformation objects that you can ask for rotation angle, displacement vector, magnification etc.
Can you give an example of your code?
Matthias
Thanks for the help. I was able to figure this out. I just had to use
inst.trans.disp.x -> for getting x position
inst.trans.disp.y -> for getting y position
inst.trans.angle -> for getting angle
where inst is an instance in the parent cell.
~Amar