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?
I was never aware that there were two different viewres, in fact, I don't exaclty understand how there could be?
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 difficult
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.
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).
@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.
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.
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,
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.
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.
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.
That's good to know. Now as long as all the other bugs don't bite me I'll be OK
Can't find what you're looking for? Ask the community or share your knowledge.