Layouts Freezing

Layouts Freezing

PLM1987
Enthusiast Enthusiast
4,798 Views
7 Replies
Message 1 of 8

Layouts Freezing

PLM1987
Enthusiast
Enthusiast

Hello,

 

I am experiencing an issue with switching of layouts and freezing. I currently have a drawing with 20 layouts (10km divided into 500m sections). Each layout contains a three viewports: 1: Profile, 2: Plan, 3: 5 section views.

 

The file I am working with is a mixture of xrefs and data shortcuts with only 1 surface being native to the file (Comparison surface).

 

The issue I am having is often, when I go to switch to a new layout, it just loads the comparison surface with some random linework immediately, and it then hangs there until I force close the software. We have 6 computers here on site and 4/6 of them have this problem. Unfortunately, I also cannot determine why the other 2 engineers on site never run into this issue. This is becoming very frustrating especially while publishing... I often have to publish off one of the working computers.

 

Additionally, once this error occurs, I have to open the drawing in question on one of the working computers, switch to a new layout, then save it to overwrite the error. If I try to reopen on my computer, it just hangs again everytime i try to switch off of the current layout.

 

Hardware: i9-9980XE @3.00GHz, 64GB ram,  Quadro P5000 GPU

 

Product Version: 133.3.1727.0 2021.1.1 Update R. 118.0 

 

OS: Windows 10 Pro for Workstations. OS Build 19041.508

0 Likes
Accepted solutions (1)
4,799 Views
7 Replies
Replies (7)
Message 2 of 8

tcorey
Mentor
Mentor

Set LayoutRegenCtrl to 0. This eliminates layout caching, which could be the hangup. 

 

This sounds like a pretty large drawing file. Twenty layouts and sixty viewports? Lots of Xrefs and Data References. Have you thought of using Sheet Set Manager?



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 8

PLM1987
Enthusiast
Enthusiast

thank you for the reply

 

LayoutRegenCtrl  is already set to 0, unfortunately.

 

As for sheet set manager, I've actually never experimented with it. At the moment my work flow is,

1) Build grade model in separate DWG. Inside this drawing I'd have the alignment, LiDAR (data shortcut), corridor, assemblies, and resulting grade model surface.

2) I data shortcut everything into a second drawing in which I use to built the layouts and make the data presentable. As previousoy mentioned. 3 VPs, top VP has the profile with existing ground and graded ground, then I have a data table that pulls from an excel sheet with cut and fill values, then another VP with the Plan view with all of the linework etc... XREF in. Finally a third VP with 5 section views roughly every 100m.

 

How could the sheet set manager improve this workflow?

0 Likes
Message 4 of 8

PLM1987
Enthusiast
Enthusiast

Found a bit of a work around for this that appears to be working. As long as I make sure all layouts are in paper space prior to switching to a new one, then appear to be loading fine. It only freezes if I leave a layout in model space, then try to return to it.

Message 5 of 8

cmh
Explorer
Explorer
Accepted solution

I also have this issue.  Making sure I leave each layout in paper space works, as does LevelofDetail mode.

0 Likes
Message 6 of 8

PLM1987
Enthusiast
Enthusiast

This is the exact work around I use now too. It's muscle memory for me now to never leave a layout tab without switching to paper space

0 Likes
Message 7 of 8

RobertEVs
Advisor
Advisor

I have been having issue with this as well. What I have found is as long as I zoom extents of the layout, EVEN if the viewport is still in the model space, it never freezes when jumping back and forth between MS and PS.

If after a crash upon reopening the dwg I make a copy and move the stuck layout to the end, delete the stuck layout and put the copy back in it's place. HTH.

0 Likes
Message 8 of 8

tbaloghCMT2Y
Explorer
Explorer

Thank you @tcorey for this answer. I was using the AutoCAD .NET API, and had this issue when I called 

`
LayoutManager.Current.LayoutName = switchToThisLayoutName;
`
If whoever else bumps into this issue, based on the answer above just make sure to do the following:
`
Application.SetSystemVariable("LAYOUTREGENCTL", 0);
`

Cheers,
Tamas Balogh

0 Likes