Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VIEWRES question layout to model

23 REPLIES 23
Reply
Message 1 of 24
sthompson1021
4644 Views, 23 Replies

VIEWRES question layout to model

Here's the setup. VIEWRES set at 5000 in MS and set at 100 in layout. When I switch from model to layout and back to model, the VIEWRES changes back to 100 in MS. This doesn't happen on a co-workers machine that has 2012LT. Another co-worker has 2014LT and it does it. I have 2014 and it does it. Did the behavior change or is there a system variable that I need to change?

23 REPLIES 23
Message 2 of 24
pendean
in reply to: sthompson1021

A quirk in 2012 that got fixed most likely: it's a by-drawing variable setting and not a by-tab setting I believe, one and the same everywhere.
Message 3 of 24
JDMather
in reply to: sthompson1021

I was never aware that there were two different viewres, in fact, I don't exaclty understand how there could be?


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


Message 4 of 24
sthompson1021
in reply to: pendean

I just checked it on full 2013 and its the same as 2012LT. You can set a different VIEWRES for each layout and model space. It is saved in the dwg. The problem I have is that all of our maps are legacy drawings that have the VIEWRES set to 100 in the layouts. I can set it to 5000 in model space but as soon as I open up a layout it changes the MS to 100. There are over 500 layouts in our maps and I really don't want to have to open every one to set the viewres to 5000 so that it stays that way in MS. I was hoping that I was missing something with a system variable, but I guess that Autodesk just likes to make life difficultSmiley Sad

Message 5 of 24
dbroad
in reply to: sthompson1021

AFAIK, the viewres data is a per viewport setting.  (The paperspace is a separate viewport from the mviews).  Each viewport stores the viewres setting on the xdata (14th xdata element ie. (1070 . 5000) or (1070 . 100)) for that viewport.  For stability purposes, the xdata for viewports is inaccessible to change via entmod and probably by vla-setxdata.  

 

If it means that much to you, consider that you might be able to script it via the core console by creating a script that would open each drawing and then make each layout active and then each viewport active and run the viewres command while each viewport is active. Before investing any time, check to see if viewres is one of the supported accoreconsole commands.

 

Otherwise, the viewres setting will not affect how anything plots.  It only affects the smoothness of curves when viewed on screen.

 

 

Architect, Registered NC, VA, SC, & GA.
Message 6 of 24
sthompson1021
in reply to: dbroad

Yea, thats getting way over my head. I can live with typing RE when I open the drawings. That smooths everything out. Just kind of annoying that Autodesk would change the behavior for no good reason that I can see. (If they meant to).

Message 7 of 24
dbroad
in reply to: sthompson1021


@sthompson1021 wrote:

Yea, thats getting way over my head. I can live with typing RE when I open the drawings. That smooths everything out. Just kind of annoying that Autodesk would change the behavior for no good reason that I can see. (If they meant to).


What makes you think this is a change?  It has probably been this way as long as paper space viewports have been around.  BTW, if re is smoothing the drawings, perhaps you need to set regenauto to on if it is off.  Some older drawings kept that off to keep regens from happening automatically when computers were slow.

Architect, Registered NC, VA, SC, & GA.
Message 8 of 24
sthompson1021
in reply to: dbroad

I checked this in 2012LT and 2013 full. You can have the viewres set to different values and switch back and forth between the model tab and the layout tabs and the values are maintained. In 2014, both full and LT, if you have a different setting for the model tab and the layout tabs, the setting for the model tab is changed to whatever it is for the last layout you are in before switching back to model.

Message 9 of 24

I have tested this behavior using AutoCAD 2014.  Initally, the VIEWRES setting in model space will determine the setting in a layout or viewport (Note: this can be changed if the template is modified).  A drawing that contains a single layout with a single viewport can have three different settings for VIEWRES.  These settings should not change until physicall done so.

 

With that said, would it be possible to provide a sample file where you are encountering the change in the VIEWRES setting so we can test here on our systems?

 

Regards,




Steve Bessette
Support Specialist
Product Support
Autodesk, Inc.
Message 10 of 24

In the attached .dwg, the viewres is set to 5000 in the model tab, 1000 in paper space in layout 1, and 100 in model space in layout 1. When I open the .dwg, the viewres is 5000. As soon as I switch to layout 1 and then back to the model tab, The viewres changes to 100. This happens in both 2014 Full and LT. It does not happen in 2013.

Message 11 of 24
VBritsch
in reply to: sthompson1021

 

I'm having just the same behaviour in a drawing with LT2014 (full version as well). Switching from model (VIEWRES=1000) tolayout (VIEWRES=1) and back to Model sets VIEWRES in Model to 1.

Additionally, Linetypes are not displayed correctly in modelspace, when VIEWRES is 1. I thought, this has nothing to do with VIEWRES.

MSLTSCALE and PSLTSCALE are both set to 0.

 

Any news since sthompson uloaded the drawing?

 

volker.

Message 12 of 24
M_Hensley
in reply to: VBritsch

Why don't you just set WHIPARC to 1 and never worry about VIEWRES again?

Message 13 of 24
VBritsch
in reply to: VBritsch

WHIPARC is fine for arcs and circles, but still linetypes are not displayed properly.

Message 14 of 24
sthompson1021
in reply to: VBritsch

I haven't heard anything back from adsk yet on the problem. I'm waiting for IT to download 2015 for me to see if it has the same behavior. Fingers crossed they fixed it but not holding my breath.  

Message 15 of 24
VBritsch
in reply to: VBritsch

just tested in 2015: problem seems to be fixed.

 

volker.

Message 16 of 24
sthompson1021
in reply to: VBritsch

That's good to know. Now as long as all the other bugs don't bite me I'll be OKSmiley Wink

Message 17 of 24
rkmcswain
in reply to: M_Hensley

M_Hensley wrote:

Why don't you just set WHIPARC to 1.....

Here is one reason.

R.K. McSwain     | CADpanacea | on twitter
Message 18 of 24
bendavisasce
in reply to: rkmcswain

@rkmcswain

 

The page your linking to is down, where is the "one reason"?

Message 19 of 24
rkmcswain
in reply to: bendavisasce

Did you click on the link to the cached copy?
That works for me.

https://web.archive.org/web/20131031045952/http://cadpanacea.com/node/430

R.K. McSwain     | CADpanacea | on twitter
Message 20 of 24

is there any answer to sthompson1021's question?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost