Jump to content

Recommended Posts

Posted

Is there any way to select by lisp distant objects, without user intervention.

Maybe by the larger coordinates in all 4 quadrants?

Thanks

Posted

Welcome to CADTutor w64bit. :)

 

SELECTALL?

Posted

I have "negative" hatches in many DWG files, located far away from the drawing and I want to delete them (not manually).

Posted

I don't see how you would be able to do this without any user input.

At the very least I should think you would need to define the extents for all objects which you do not wish to delete.

Posted

A simple way is to select all with Ctrl+A. Then press Shift and deselect everything on the screen.

The distant object should remain selected and you can Erase them.

Posted

Let's try other approach.

A lisp for selecting all "negative" hatches.

Posted

negative = hatches which cannot be seen due to large scale

it can be a lisp for selecting all outside a defined zone.

Posted

Are you able to pinpoint this defined zone?

Posted
Let's try other approach.

A lisp for selecting all "negative" hatches.

We can try, but if I write it, it would be exact the same approach as I described.

So if my suggestion works, then the lisp would work.

Did you try it?

Posted
A simple way is to select all with Ctrl+A. Then press Shift and deselect everything on the screen.

The distant object should remain selected and you can Erase them.

 

That is exactly how I would do it too, Stefan. :beer:

Posted

What about prompting the user to input a range of hatch scale values to be avoided, so the fault won't be in your code:

_$ (<= 1 2 3)
T
_$ (<= 1 0 3)
nil
_$ (<= 1 4 3)
nil

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