Jump to content

Change UCS by entity inside block


Jozef13

Recommended Posts

Hello,
I would like to change UCS by clicking on entity inside block.

Entity can be Line Polyline or LWPolyline

Link to comment
Share on other sites

ok tried that myself right now, and it seems its not working.. 

Edited by EnM4st3r
Link to comment
Share on other sites

If you use the ssget command with the modifier "_:V", you force the command to take only subentities. You can add the ":S+." modifier to ensure that you get one and only one subentity. You'll probably want to filter out anything that's not an acceptable entity type and return an error message.

 

After that you can read the entity's vector, code 210 (if I'm reading the table right), and assign it to the coordinate system.

Link to comment
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...