Stats

30.8.16

Civil 3D 2014 - Civil 3D 2017 Performace FIX! (Becuse I love you)



This fix is being officially for sure published for real in a few days...but you heard it here first.

In some cases, users were experiencing unexpectedly slow opening and saving of Civil 3D files.

Affects versions

Civil 3D 2014
Civil 3D 2015
Civil 3D 2016
Civil 3D 2017

This fix is not language-specific.

Install the Performance Improvement


Be sure to close Civil 3D and any other AutoCAD based application before installing updating files.

You will need local administrator rights to apply the update.

Important Notes:

The update needs to be implemented on every user’s machine. The performance problem will return if an unpatched version of Civil 3D is used to open a file.

The performance problem is fixed at the time a file is saved in the updated version of Civil 3D. The first time a user opens a file the update will not be evident. Performance will greatly improve after the first save.

External references will need to be resaved to see the benefit of the update.

Civil 3D 2017



The performance issue has been addressed in Civil 3D 2017 service pack 1.1. All users must be updated to the current version to see the benefit of the update.


Note: If you installed the service pack version 1.0, uninstall it and install sp1.1.


Civil 3D 2016

The performance issue has been addressed in Civil 3D 2016 service pack 3. All users must be updated to the current version to see the benefit of the update.



Civil 3D 2014


1.       Locate the file: C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014\AeccNetwork.dbx
2.      Check the version of this file. The old file version is 10.3.894.0 (3.17mb)
3.      Rename the current AeccNetwork.dbx to OLD_AeccNetwork.dbx
4.      Download AECCNETWORK.dbx (version 10.3.902.0)
5.      Place the new version of aeccnetwork.dbx in c:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014\

Civil 3D 2015

1.       Locate the file: C:\Program Files\Autodesk\AutoCAD 2015\AeccNetwork.dbx
2.      Check the version of this file. The old file version is 10.4.524.0 (3.08mb)
3.      Rename the current AeccNetwork.dbx to OLD_AeccNetwork.dbx
4.      Download AECCNETWORK.dbx (version 10.4.940.0)
5.      Place the new version of aeccnetwork.dbx in C:\Program Files\Autodesk\AutoCAD 2015\

Tips for Implementing the Improvement Enterprise-wide


This fix works when opening a file and resaving it. The first time a file is opened after the fix is implemented, it will open slowly. After the file is re-saved, the file size will be reduced and opening time will be reduced.

Resave all Sheets

For smaller projects, an easy way to force Civil 3D to open and save multiple files is to use Sheetset Manager.


Right-click the name of the sheet set and select Resave All Sheets



 

 

 

 

 

Script


Scripts have been provided by Autodesk as a good faith effort to assist customers with large numbers of effected files.

Scripts are provided as-is and are not officially supported.





Civil 3D version
Old aeccnetwork.dbx
New aeccnetwork.dbx
2014
10.3.894.0
10.3.902.0
2015
10.4.524.0
10.4.940.0
2016
10.5.604.0
10.5.977.0


2017
11.0.659.0
11.0763.0

Local admin rights are needed to run the batch file.
Function of the Scripts:

The script should be run from a computer that has the appropriate version(s) of Civil 3D installed.  The script uses the command line version of AutoCAD to open and resave drawings.

The script currently does not check the version of the DWG file before updating. Care must be taken that the correct script is run against the appropriate version of each Civil 3D file. More information on Civil 3D versioning can be found here.

At the conclusion of the script, a list of re-saved files is generated. This file list is named temp_dwg_filelist_201X.txt and will be located in the same directory in which the repair_201X.bat is found.


1.       Download and extract the zip file containing the scripts.
·         Note that aeccnetwork.dbx is version-specific.
·         Be sure to have the correct version in the same directory as its corresponding batch file.
2.      Log in as administrator on a machine running Civil 3D version 2014, 2015 or 2016.
·         Permissions are needed to copy the aeccnetwork.dbx to the Program Files folder on the local machine running the script.
·         If you receive an Access denied error, “0 files copied,” change the permissions of the program folder containing aeccnetwork.dbx to allow full control by the admin user. 
3.      Launch a Windows command line (CMD.exe)
4.      Run the batch file and add the path to effected file folder after the batch file name.
·         This parameter is what directs the script to the files.
·         UNC pathing is not supported by this BAT file. (Used a mapped drive instead.)



The script will proceed to open and save all DWG and DWT files found in the specified path, including subdirectories.

A list of modified files can be found in the file temp_dwg_filelist_201X.txt.  

1.7.16

AutoCAD Layer-Fu

A problem came to my attention today that I have meant to write up for a while. 

The problem is this: Say you are an AutoCAD user and don't want to see layers from an XREF. 
To hide all XREF layers, you can highlight the Layer Filter group that AutoCAD creates for you and toggle on Invert Filter. 

The problem with this technique is that after closing the drawing and coming back in, the Invert Filter toggle will have cleared itself.

Invert filters resets upon opening drawings every time. This has been true for AutoCAD back as far as I can remember. There are several opinions among users whether this is helpful or annoying. On the Autodesk side, there are no plans to change this behavior.

The good news is that it is SUPER easy to make your own "non-XREF" filter. Create a new layer property filter with ~*|* in the description field, as shown below:



  • The ~ is a "NOT" logical filter
  • The vertical bar | is always present in XREF layer names.
  • and of course the asterisk * is a wildcard.

So this filter is saying, "Show me layers that are not XREF"




17.6.16

Singing the ECW Blues


I had two cases this week regarding the ECW format. The cases were from the same customer and the users are working on the same project. This may have been the first time I've ever dealt with this raster image format.

Problem 1: "The ECW file disappears if I am in a view other than 'Top' or if the UCS changes in any way. "

 

The image really isn't disappearing; it is just slow to regenerate. First, flip flop between perspective and orthographic view in your active 3D viewport. This will jog civil 3D into displaying the ECW. Type PERSPECTIVE at the command line; 0 means orthographic, 1 means perspective.

However, you need to be patient. The image is there, but it may be painfully slow. ECW is a "lossy" format, which means it can achieve much higher image compression than say, a SID. In AutoCAD Civil 3D or Map 3D, every time you pan, zoom or change UCS, AutoCAD needs to regenerate the file. The file is constantly getting re-uncompressed, because the uncompressed ECW would be WAY too large for AutoCAD to handle.

Problem 2: "ECW moves in paperspace."


9.6.16

This Week In Support: Printing!

This week has been full of surprising discoveries for me. AutoCAD (and Civil 3D) is a never-ending adventure in tricks, cool stuff and sometimes WTF. I'm convinced that there is nobody on the planet who knows every single feature and variable.

AutoCAD Printing Issue #1:


The first thing I discovered is that the DWG to PDF.pc3 file from earlier versions of AutoCAD is not compatible with AutoCAD 2016. Here's the KB article on it. It took me an embarrassing amount of time to find that this was the root cause for an issue one of my guys was having.

In the case I had this week, the error was manifesting itself in an unexpected way. The user was able to publish to PDF only if each page was going to a separate file. It wouldn't create a multi-page PDF. The pre-2016 pc3 file shouldn't have worked even that much! In theory, it should always give the user a "Device not found" error.


http://autode.sk/24DcsnG
You'll need to update your 2016 page setups accordingly.


AutoCAD Printing Issue #2:


26.4.16

Visual Style & Isoline Quickie


The question today, came from my Civil 3D bro up in Seattle, Bryan.
We are generating some graphics and when I switch my view to ‘realistic’, it shows the triangle edges of the isolines. I can turn them off in the view toolbar, but when I produce a camera angle of the model and switch it to ‘realistic’ I do not know how to turn off the isolines. I do know there is a dialog box like a toolpallete that I can turn it off, but I do not know where that is, can you help?

To get rid of isolines in realistic view:


1. Crack open the Visual Styles Manager (VISUALSTYLES at the command line).
2. Click the “swatch” for Realistic at the top of the palette.
3. [OPTIONAL] Right-click the swatch and select Copy.  « [Doing this you can keep the original Realistic style and make your own called “Realistic – No Isolines,” for example.

4. Towards the bottom there is a listing for Edge Settings.
5. You’ll see an option for Showing Isolines.



6. Set the isolines to none.
7. Boom, yer done!

This tip applies to AutoCAD and all related vertical products.

5.4.16

FlexLM License Troubleshooting

Despite my claims to the contrary; I don't know everything. No, really!

A new thing I learned this week is the environment variable FLEXLM_DIAGNOSTICS.

If someone is having problems opening up a product because of network licensing, this little gem helps you get to the bottom of it fast. I wish I had known this years ago!

On the machine having the issue, add FLEXLM_DIAGNOSTICS to the system environment variable and set it to 3 (most informative setting).
 

This variable can be set to 1, 2, or 3 depending on how verbose ("chatty") you want FlexLM to be.

1 gives you:
  • License error number 
  • Where FlexLM is trying to get license information (license.lic file, environment variable or some other weird thing)
  • A dialog box only appears if there was a problem