Jump to content

Recommended Posts

Posted

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?

Posted

Thinking out side the square or was it a poly shape offset viewport inwards then chspace and use it to pick required boundary.

Posted

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

Posted

Did you read my previous post ? You can use object when selecting.

Posted

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.

Posted

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.

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