TheSwamp

CAD Forums => Vertically Challenged => Land Lubber / Geographically Positioned => Topic started by: Matt__W on August 08, 2016, 01:15:00 PM

Title: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 08, 2016, 01:15:00 PM
Rather than re-write everything, here's a link to my original post on the Autodesk Civil 3D forums (http://forums.autodesk.com/autodesk/board/message?board.id=66&message.id=308620#M308620). Trying to figure out why DWGs are only affected in Civil 3D. Slowness opening, inserting blocks from a network drive, purging.
This one is really bugging me. Any thoughts, suggestions, etc. are appreciated.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: cadtag on August 08, 2016, 01:23:52 PM
to be certain you're stating with a clean template, set FILEDIA to 0, then type .NEW, and at the template prompt enter a period (.)

same problems?  (oh, and remember to reset FILEDIA back to 1)
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 08, 2016, 02:10:58 PM
Yup. Same problems.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 08, 2016, 02:15:16 PM
are you getting the updating old drawing message along with this general slowness?
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 08, 2016, 02:48:34 PM
Nope.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 08, 2016, 04:01:38 PM
how slow is it for ME to open one of those empty files?
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 09, 2016, 08:39:48 AM
The attached drawing takes me 32 seconds to open. From the moment I click the OPEN button to the time I get the crosshairs.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: rkmcswain on August 09, 2016, 09:31:52 AM
In my heavily customized 2014 environment, it takes ±45 seconds to open.
In a plain jane 2016 environment, it takes ±45 seconds to open.
In a moderately customized 2017 environment, it takes ±20 seconds to open.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 09, 2016, 10:05:49 AM
In my heavily customized 2014 environment, it takes ±45 seconds to open.
In a plain jane 2016 environment, it takes ±45 seconds to open.
In a moderately customized 2017 environment, it takes ±20 seconds to open.
Really? There's nothing in it! I don't get why it would take that long. Seems a bit much.


Side note... Still waiting to get access to ProcMon.  :|
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 09, 2016, 10:08:32 AM
In my heavily customized 2014 environment, it takes ±45 seconds to open.
In a plain jane 2016 environment, it takes ±45 seconds to open.
In a moderately customized 2017 environment, it takes ±20 seconds to open.
It took a guy in our office using AutoCAD MEP 2015 +/- 3 seconds to open it. Windows 7, SSD, 32GB.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Jeff H on August 09, 2016, 10:22:08 AM
Could load autocad's mgdbg or if one specifically for Civil(Jeff M would know), and turn on printing events to command line to see if notice anything to help narrow it down.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 10:46:06 AM
53 seconds! Win7 C3D 2016. Weird.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 09, 2016, 11:00:05 AM
I  got around 42 seconds with your posted drawing,

Then I purged and removed four &(*&%(^%*& named blocks and did a save as.

Now opens in around 16 seconds.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 11:05:19 AM
Then I purged and removed four &(*&%(^%*& named blocks and did a save as.
That is what i'm currently doing. Even running the PURGE command takes 40 seconds.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 09, 2016, 11:07:10 AM
Then I purged and removed four &(*&%(^%*& named blocks and did a save as.
That is what i'm currently doing. Even running the PURGE command takes 40 seconds.
I'm glad to see you're experiencing what I'm dealing with over here. It just doesn't make any sense why everything is running so slow!

What about inserting a block? Does it take a while the first time you insert a block into that drawing?
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 11:10:23 AM
There are a lot of blocks that cannot be purged. Why?
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 11:11:20 AM
What about inserting a block? Does it take a while the first time you insert a block into that drawing?
Nope! :)
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 09, 2016, 11:12:27 AM
There are a lot of blocks that cannot be purged. Why?
probably used by c3d styles...and thus not purgable
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 09, 2016, 11:13:07 AM
at the 16 second point I have now with it, I wouldn't consider that a problem
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 09, 2016, 11:20:15 AM
I just wblocked it all out to a new file...opens in 4+/- seconds

upon closing and reopening

I now see this at command line:

Command: ** Undefined shape 65
** Undefined shape 97
** Undefined shape 66
** Undefined shape 98
** Undefined shape 67
** Undefined shape 99
** Undefined shape 68

and the load time has creeped back up
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Jeff H on August 09, 2016, 11:30:33 AM
If you want to clean all the stuff out just use
-EXPORTTOAUTOCAD command







Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 09, 2016, 11:36:56 AM
So you have reached the same conclusion I did:


The file is NOT EMPTY at all.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Jeff H on August 09, 2016, 11:44:13 AM
So you have reached the same conclusion I did:


The file is NOT EMPTY at all.
When I saw attachment was 1504kB, I thought that was empty for a Civil 3D drawing.
I knew MEP drawing cleaned out was still about twice as big a vanilla  empty drawing.


Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 11:49:23 AM
at the 16 second point I have now with it, I wouldn't consider that a problem
Even after purging i can't get that.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 11:56:24 AM
If you want to clean all the stuff out just use
-EXPORTTOAUTOCAD command
That speeds it up! :)
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 09, 2016, 12:26:15 PM
at the 16 second point I have now with it, I wouldn't consider that a problem
Even after purging i can't get that.
Try my file posted above...
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 01:00:25 PM
at the 16 second point I have now with it, I wouldn't consider that a problem
Even after purging i can't get that.
Try my file posted above...
Opens right up. After a save though it takes much longer.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 09, 2016, 01:37:26 PM
at the 16 second point I have now with it, I wouldn't consider that a problem
Even after purging i can't get that.
Try my file posted above...
Opens right up. After a save though it takes much longer.
If you're saving in Civil 3D, it's automatically adding some default C3D styles to the drawing.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Mark on August 09, 2016, 03:21:02 PM
at the 16 second point I have now with it, I wouldn't consider that a problem
Even after purging i can't get that.
Try my file posted above...
Opens right up. After a save though it takes much longer.
If you're saving in Civil 3D, it's automatically adding some default C3D styles to the drawing.
But still, none of my other C3D files take that long to open.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: rkmcswain on August 10, 2016, 02:06:38 PM
It opens in BricsCAD in less than 2 seconds.
Then I ran an AUDIT, Purged it, and exported to DWG (I'm presuming this is like an AutoCAD Wblock *) and the resulting file is 11k


(Doing the Audit + Purge and then simply saving in BricsCAD does not kill the file size. It's still ±1421k)

Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: rkmcswain on August 10, 2016, 02:10:44 PM
...and then opening the 11k drawing in C3D 2017 and immediately saving it, results in a 430k DWG file.
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 22, 2016, 04:23:15 PM
Just wanted to post an update/resolution to our particular problem. Link to Autodesk Civil 3D forum (http://forums.autodesk.com/t5/autocad-civil-3d-general/empty-drawing-slow-to-open/m-p/6496410#M308975)
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: mjfarrell on August 22, 2016, 05:55:10 PM
to quote you from the link 
Quote
AeccNetwork.dbx files

where or how did you replace this file or files?


Was yours corrupted, or superseded by a service patch?
Title: Re: Empty drawing slow to open, purge, insert blocks
Post by: Matt__W on August 22, 2016, 06:43:30 PM
to quote you from the link 
Quote
AeccNetwork.dbx files

where or how did you replace this file or files?


Was yours corrupted, or superseded by a service patch?
Simply had our IT geeks overwrite the existing files.

Not entirely sure.