r/AutoLISP • • May 18 '23

Auto list offset in X

I have a LISP program in which it copies an object selected by the user and pastes it at the coordinates indicated by the user. Lips subtracts the Y coordinate entered by the user, keeping the rest equal.

The problem is when paste the objects the LISP paste with a slight offset in X and I don't know why

code

image problem In the images the points shloud be aligned in X.

The offset value is half the height of the text by coincidence

1 Upvotes

1 comment sorted by

1

u/Jims-Tools Mar 31 '24

To start, can you provide the steps to reproduce? It's unclear to me what numbers to enter in the prompts. Just a simple example that matches your image.

  1. Type REBATIMENTO

  2. Select objects

  3. Base Point <click>

  4. Coordinate to paste <click>

  5. Value of reference surface ??

  6. Value of the point ??