VIEWRES question layout to model

sthompson1021
Advisor
Advisor

VIEWRES question layout to model

sthompson1021
Advisor
Advisor

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?

0 Likes
Reply
5,404 Views
23 Replies
Replies (23)

pendean
Community Legend
Community Legend
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.
0 Likes

JDMather
Consultant
Consultant

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


0 Likes

sthompson1021
Advisor
Advisor

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

0 Likes

dbroad
Mentor
Mentor

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.
0 Likes

sthompson1021
Advisor
Advisor

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).

0 Likes

dbroad
Mentor
Mentor

@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.
0 Likes

sthompson1021
Advisor
Advisor

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.

0 Likes

Steve_Bessette
Autodesk Support
Autodesk Support

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.
0 Likes

sthompson1021
Advisor
Advisor

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.

VBritsch
Contributor
Contributor

 

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.

0 Likes

M_Hensley
Advisor
Advisor

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

VBritsch
Contributor
Contributor

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

0 Likes

sthompson1021
Advisor
Advisor

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.  

VBritsch
Contributor
Contributor

just tested in 2015: problem seems to be fixed.

 

volker.

0 Likes

sthompson1021
Advisor
Advisor

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

0 Likes

rkmcswain
Mentor
Mentor
M_Hensley wrote:

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

Here is one reason.

R.K. McSwain     | CADpanacea | on twitter

Anonymous
Not applicable

@rkmcswain

 

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

0 Likes

rkmcswain
Mentor
Mentor
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
0 Likes

jordicunillperea
Enthusiast
Enthusiast
is there any answer to sthompson1021's question?
0 Likes