MiGo Posted April 20, 2011 Share Posted April 20, 2011 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? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 21, 2011 Share Posted April 21, 2011 Thinking out side the square or was it a poly shape offset viewport inwards then chspace and use it to pick required boundary. Quote Link to comment Share on other sites More sharing options...
MiGo Posted April 21, 2011 Author Share Posted April 21, 2011 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). Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 25, 2011 Share Posted April 25, 2011 Did you read my previous post ? You can use object when selecting. Quote Link to comment Share on other sites More sharing options...
MiGo Posted April 25, 2011 Author Share Posted April 25, 2011 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. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 29, 2011 Share Posted April 29, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.