Jump to content
Developer Wiki and Function Reference Links ×

Short lines selection to delete


Recommended Posts

Hi everyone!

 

I was recently asked how could one get rid of the shortest lines of an imported DWG drawing. After some searching, I could only find the advice of someone pointing to a Marionette solution. After some self teaching I want to share this little wrapper which, once turned into a menu command, deletes the lines from a selection which are shorter than one drawing unit.

 

On the one side, job done! On the other side, I have a little wishlist that maybe someone could help me with. I would like this tool to be able to:

- manually select the length for everytime the command is executed

- work in a way which is more graphic, i.e. not a menu command

- work also for older versions (I tried exporting to 2016 without success)

 

Thanks in advance for your insights / comments !

 

maxLength_1 unit.vwx

Link to comment

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