Jump to content

Cursor UCS changed when picking object points


Recommended Posts

CloudJack

I am looking for Autolisp for reset all snap point / basepoint to current UCS for all objects (block, leader, line, text etc.).

 

Something when picking an object's point, the cursor UCS was changed to different UCS as shown below.

 

1157422369_SampleofUCSchange.png.263d39157b0d4e8ab09b29ef4d67fbb5.png106830698_SampleofUCSchange2.png.324bdd2fb0448f52dd109dd02c9731a1.png

 

 

Sample drawing is attached. I have no idea why it is happened to objects. (maybe the z value?)

 

Object snap point UCS.dwg

Link to post
Share on other sites
tombu

UCS OBject at the command line then select the horizontal segment.

As each segment of the leader would have a different OBject UCS setting it automatically any easier with lisp seems doubtful.

  • Like 1
Link to post
Share on other sites
CloudJack

Thank you.

I use UCS->Object then select the horizontal segment.

After that, I use Ctrl + C to copy the object and UCS->World and paste.

1479588212_ObjectsnappointUCS_1.png.4b56e50c3109625a205f0b05850407f5.png1999322839_ObjectsnappointUCS_2.png.b3a79c9a010d2235b77edeedb547e7f4.png

 

The object's point resume normal.

 

Can this process done by Autolisp?

Link to post
Share on other sites
eldon

If you list your leader, you will see it is curiously twisted, which results in the UCS also being curiously aligned.

 

 

UCS-base.PNG

Link to post
Share on other sites
CloudJack

Is it any Autolisp code for my reference to repair those twisted vertex? (For leader, line, polyline, blocks, Mtext, text etc.)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...