TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on March 26, 2019, 08:21:14 AM

Title: What is Paper Space Viewport
Post by: mailmaverick on March 26, 2019, 08:21:14 AM
What is the meaning of Paper Space Viewport in following link :-

https://www.autodesk.com/techpubs/autocad/acadr14/dxf/viewport_al_u05_c.htm

Thanks for your help.
Title: Re: What is Paper Space Viewport
Post by: ronjonp on March 26, 2019, 08:26:24 AM
Go to a paperspace tab and type in MVIEW .. that is a paperspace viewport. Do you not print from paperspace?
Title: Re: What is Paper Space Viewport
Post by: MP on March 26, 2019, 08:33:49 AM
In addition to Ron's comment perhaps this (https://knowledge.autodesk.com/guidref/ACD/2018/learn-explore/GUID-2B5D404A-DCAB-4AF6-A5C1-51593B38F519) will illuminate. Cheers.
Title: Re: What is Paper Space Viewport
Post by: tombu on March 26, 2019, 08:39:39 AM
It's the same as the value returned by enereing CVPORT at the command line.  In Paper Space it will always be 1, in a Viewport (or on the Model tab) the first one will be 2 and will increment from there.
Title: Re: What is Paper Space Viewport
Post by: mailmaverick on March 26, 2019, 09:21:51 AM
Thanks to all for your valuable comments. I've still got one doubt.
The link which I mentioned says : "Group Code 69 = Viewport ID. Changes each time a drawing is opened. Never saved, except for the paper space viewport, which is always 1."

In my drawing file, there are one or multiple viewports in 'Layout1', 'Layout2' tabs. Now I understand that the Viewport ID of each viewport will change each time the drawing is opened. Then which is the Viewport for which the Paper Space ID will remain as 1.
Title: Re: What is Paper Space Viewport
Post by: ribarm on March 26, 2019, 09:45:15 AM
...
Then which is the Viewport for which the Paper Space ID will remain as 1.

Well that viewport is invisible paper space viewport where all other visible are placed in...