0 Members and 1 Guest are viewing this topic.
ActivePViewport Property Specifies the active paper space viewport for the drawing.See Also | ExampleSignature object.ActivePViewport objectDocumentThe object or objects this property applies to. ActivePViewportPViewport object; read-writeThe active paper space viewport.
(sslength (ssget "_X" '((0 . "VIEWPORT") (68 . 1)))) => equals number of PS layouts.
Is there a way to retrieve the PS viewport (AcDbViewport) status in Visual Lisp? I am looking for the VL equivalent of group code 68. I want to determine the active viewport on a layout in an objectdbx drawing.
The DXF data is usually still available through ObjectDBX; a quick test confirms this.
Quote from: Lee Mac on March 03, 2015, 02:38:28 PMThe DXF data is usually still available through ObjectDBX; a quick test confirms this.I feel silly now. Somehow I made the assumption that (entget) would not work in an objectdbx context. Thank you very much Lee!