PDA

View Full Version : Finding new point



cadconcepts
2022-04-08, 05:56 PM
Hi All
I have written a routine to insert a block at the same point and rotation of an existing block. I am able to obtain the insertion point and rotation of the existing via AutoLisp. Do I use the TRANS function to determine the new point I wish to move the new block to. I have the insertion point, the angle and I want the new point to be 24" away. Any help is greatly appreciated. Thanks.
Manuel

Tharwat
2022-04-08, 06:15 PM
Hi,
You need to use POLAR function to determine the target destination but the use of TRANS function is for converting coordinates from system to another.

cadconcepts
2022-04-11, 04:25 PM
Thanks.
Manuel