TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Red Nova on June 15, 2020, 05:10:04 PM

Title: get coordinates of a polar parameter grip of a dynamic block
Post by: Red Nova on June 15, 2020, 05:10:04 PM
Hi,

I am trying to get the XY coordinate of a grip that belongs to a Polar Parameter of a dynamic block.
I know how to get values of properties of the block including dynamic properties.
I tried to solve this by getting Polar Distance, Polar Angle, Rotation, Flip and Mirror values and apply some math.
However, this does not work. The tricky part is that with a Polar Parameter after the user has interacted with flip and polar grips a few times, 2 blocks now can have same values of dynamic properties (and regular properties) and still the position on the plan will different.
See attached example, blocks 1 and 2 have same properties.
Is it possible to get the XY coordinate of the Polar Parameter for any case?

Thank you