vport id from user

blammo

Usenet Archive
Joined
Aug 7, 2003
Messages
45
Reaction score
0
All,

What's the best way to retrieve a viewport Id from a user. How can it be picked and the id sent back to LISP.

For example, I can set the active viewport, but how does one ask the user to select one? is the viewport is not the active one when the user clicks it, then they need to click twice, once to make it active, and once to satisfy the getXXXX request. I suppose I could use a dummy value to get around the double vs single click responses.

Can the act of activating the viewport be captured some how.

I'm trying to assemble a list of viewports based on user clicks.

TIA

bobb
 
Bob:
I'd say to let them just pick a point inside the boundary of a viewport from PSpace. You build a function that calculates what viewport(s) surround the pick point. Or, use (entsel). But the former can work even if the viewport's layer is frozen (which I still find that long-time users do).
 
Back
Top