Jump to content

Filtyer and delete a UCS with differentz axis


Recommended Posts

By mistake someone was defining on my team a UCS that has a "Z" axis not perpendicular to the World UCS, so everything that was drawn under this UCS is wrong and therefore not possible to fillet lines or flatten text and it is a major problem.


All I need for the time being is an autolisp function that identifies defined UCS with this mistake and delete it.


Apparently trying to filter through Group Codes with a dotted pair is not supported, so I don't know how to make it work due to the fact I have many drawings to fix.


Any suggestion?


Thanks in advance

Link to comment
Share on other sites

Use the TBLOBJNAME function to access the associated list for each saved UCS (parsed with TBLNEXT) – after, by checking the vectors stored under DXF codes 11 and 12, will be able to see if the Z axis is perpendicular on XoY plane of WCS or not.

By the way, you may ask moderator to move your thread to AutoLISP, Visual LISP & DCL.




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.

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...