Wednesday, June 1, 2016

Cleanup old and unused files associated with AutoCAD

AutoCAD/Civil 3D will create a number of files along the way. Some files log certain events and other files are left behind due to a crash or failure. I’ll often search these files then decide if they are needed. This can be a time consuming task depending on the amount of data and projects. Below is a list of AutoCAD files.

·         Plot.log (AutoCAD Plot Log File)
·         Acad.err (AutoCAD Error Log File)
·         sav*.tmp (AutoCAD Temporary Save File) In the event of a crash while saving a drawing, AutoCAD will leave the Temporary Save File in the same location as the DWG file.
·         *.adt (AutoCAD Audit Log File)
·         *.dwl & *.dwl2 (AutoCAD Drawing Lock Files) In the event of a crash, AutoCAD will leave Drawing Lock Files for unsaved drawings. Old drawings locks are usually overlooked because the file's attributes are set to hidden. Set the file manager to display “Hidden Files”.

The plot and audit log files can be turned off through the AutoCAD options and plot settings but make sure these files are not being utilized for company standards before doing so. Here are the system variables.
·         Audit Log Setting: "auditctl" "0".
·         Plot Log Setting: “-PLOTSTAMP” “Log File” “No” “Plot.Log”

Below is a simple batch command to automate the search and delete process. Copy and paste the script to a blank ASCI text file using Notepad then change the P: and P:\ (shown in red) to the desired drive and path. Save the file as AutoCAD File Cleanup.bat.
@echo on
cd\
P:
del "P:\acad.err" /s
del "P:\*.adt" /s
del "P:\*.dwl" /s /a
del "P:\*.dwl2" /s /a
del "P:\*.tmp" /s
del "P:\plot.log" /s
cd\

The batch file switches are as followed.
/s            Delete specified files from all subdirectories.
/a           Selects files to delete based on attributes.


Let me know if you have any questions.

Friday, May 27, 2016

Autodesk University 2016

My Autodesk University 2016 class proposals are in!

Monday, April 25, 2016

Civil 3D 2017!

I finally have Civil 3D 207 installed. I'm looking forward to the new grading tool and the new PDF to DWG tool. I'll post a few tips on the new features in the coming weeks.

Friday, March 11, 2016

Autodesk Stingray

I started playing Autodesk Stingray after Autodesk University 2015. I'm finally making ground. The project was created in Civil 3D project then exported to 3D Studio Max via the Civil View plug-in. While in 3D Studio Max, I added texturing a few other items then exported to an FBX file format for Stingray. The workflow is strait forward. A detailed workflow coming soon.


 
 
 
 
 
 

Monday, March 7, 2016

Autodesk University 2015 Leadership Forum Videos

http://au.autodesk.com/au-online/classes-on-demand/leadership-forum-recordings?linkId=21986791

Tuesday, March 1, 2016

Timmons Group is looking for a CAD Manager. Let me know or follow the link for the listing and tell them I sent you.

Timmons Group - CAD Manager Job Listing

Friday, February 12, 2016

Slow Selection in AutoCAD/Civil 3D 2015-2016?

Have you noticed latency when selecting objects in Civil 3D 2015 and 2016? Civil 3D seems to analyze the layer list when executing the move, copy and other commands thus causing latency. I have found a solution for the issue. Create a layer filter with no XREF layers then set it current then AutoCAD will only analyze the layers in the current file. I have created a LISP file to create the No XREF Layer filter. Place the LISP file in the Tool Palette to easily run in CAD files. I would also create the filter in the drawing template (.DWT) file so every new file will have the filter.

Copy the text below for the lisp file.

;Import No XREF Layer Filter
;
;
(defun C:lfilters ()

(command "-LAYER" "filter" "N" "P" "All" "NAME==\"~*|*\"" "No XREF Layers" "x" "")
  
   (princ)
)




Sunday, January 24, 2016