How can I tell when a viewport (any viewport) in paper space is currently active. Is there a setvar for this?
Please see my attachment to visually see what I mean.
This is actually related to a .NET programming error, whereby even when the drawing is in Paper space, if a viewport is active, I am unable to programmatically access the Layout. I need to be able to, at a minimum, detect this condition, then switch back to full paper space (i.e. de-activate the viewport) if possible.
Solved! Go to Solution.
Solved! by spanqy. See the answer in context.
CVPORT works for me. Thanks!
Probably better ways, but CVPORT = 1 when there are not active viewports in the current layout.
Access a broad range of knowledge to help get the most out of your products and services.