Jump to content

Pickbox window to viewport outline


Recommended Posts

Is there a script/lisp capable of making a selection window shaped to the outline of the current viewport outline as to select only the objects within the viewport limits and not select ones that go outside of the viewing limit?

Link to comment
Share on other sites

I would like to basically get a selection set of anything inside the current viewport limits and exclude objects outside. The viewport shapes vary some are simple square some are poly line with many odd sections (depends on drawing).

Link to comment
Share on other sites

Yes. I understand that a user can offset the viewport and select to that outline. I would like this to be done within my script. I am unfamiliar with how (in code) to select the visible objects within the viewport limits (some viewports are square some are poly) and make a selection set from that. I am trying to exclude objects that go beyond the viewing limits of the viewport. My current script selects all objects even the ones that go past the border.

Link to comment
Share on other sites

Your right had another go any way the way to go is to pick pline outline "last" and remember the vertice points (lots of example here to do this) then just do your commnad but answer with vertice points for crossing polygon or window polygon does not matter what shape then.

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