Align text to a picked point

Align text to a picked point

ramimann
Contributor Contributor
5,362 Views
27 Replies
Message 1 of 28

Align text to a picked point

ramimann
Contributor
Contributor

Hello Everyone
I need a code that can align text (from X or Y of insertion point) to "x" or "y" of a picked point.In fact, when I pick a point,the word will move to that X,maintaining the Y coordinate or to the Y of picked point,maintaining the X coordinate. Does anybody have such a lisp?
Thanks in advance

0 Likes
Accepted solutions (1)
5,363 Views
27 Replies
Replies (27)
Message 21 of 28

Code_x
Advocate
Advocate

Fantastic, it almost works the same way! 

 

2 questions :  

  • I was only able to Strech and snap in Y direction but not X, do i need to create another macro for X as well?  If you can share screenshot of how to do that would be very helpful. 
  • Can I assign a different shortcut maybe a something shorter with 1 letter or symbol? 

 

 

 

0 Likes
Message 22 of 28

ВeekeeCZ
Consultant
Consultant

Yes, you need to have both. If you can sacrifice Crtl+X..... and Ctrl+Y? Or Ctrl+\ ... and unassign the current assignment if you have any. See HERE

0 Likes
Message 23 of 28

Code_x
Advocate
Advocate

Thank you very helpful, 

Is there a way to add this macro in snap menu ? 

 

Untitled-1.jpg

 

 

0 Likes
Message 24 of 28

ВeekeeCZ
Consultant
Consultant

Yes. Pretty sure you'll figure it out.

0 Likes
Message 25 of 28

Code_x
Advocate
Advocate

Can please point to where do I need to place those macros so that they appear on that snap menu? Sorry i am very new to this macro thing. Thank you! 

 

Snap.JPG

0 Likes
Message 26 of 28

Code_x
Advocate
Advocate

Thank you so much!! 

I was looking for this function more than a year. I appreciate your help!

0 Likes
Message 27 of 28

Code_x
Advocate
Advocate

Thank you so much for your input, I believe I figured out the solution now. 

0 Likes
Message 28 of 28

JBW_AIScripts
Contributor
Contributor

I don't know if this is necroposting, so pardon me if so, but I've been using this script for a while now and it's great. There's just a problem where if it was automatically loaded by the startup suite, it will often give an "ADS Request" error and refuse to work. Do you have a fix for this?

0 Likes