Wednesday, June 1, 2016

Cleanup old and unused files associated with AutoCAD

AutoCAD/Civil 3D will create several files along the way. Some files log certain events, and other files are left behind due to a crash or a network connection failure. I’ll often search for 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 follows.
/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.


 
  

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)
)




Friday, January 8, 2016

My Autodesk University 2015 Class - CI10949-L: Keep Track of the Vehicles Using Vehicle Tracking

Here's my class material from Autodesk University 2015. I presented a lab on Autodesk Vehicle Tracking 2016.

Class Description
In this hands-on lab, you’ll learn how to generate parking lots, sweep vehicles around a site, and create a roundabout junction corridor. Step by step, you’ll learn how to choose a parking-lot style that is right for your site. Select the appropriate vehicle to check for turning movements and height clearances. Create a roundabout junction corridor to add to an existing AutoCAD Civil 3D software road corridor. You’ll also generate reports and customize the settings and standards for a specific project.

  • Learn how to create parking lots
  • Learn how to sweep vehicles through the site
  • Learn how to create roundabout junction corridors
  • Learn how to change object styles

  • CI10949-L: Keep Track of the Vehicles Using Vehicle Tracking
     
    Materials
    Class Presentation

    Class Handout

    Additional Class Material


    Let me know if you have any questions.

    Friday, December 4, 2015

    Keep Track of the Vehicles Using Vehicle Tracking #AU2015

    Here is my Autodesk University 2015 class on Keep Track of the Vehicles Using Vehicle Tracking.


    Handout, video and datasets are on the Autodesk University website.


    Description
    In this hands-on lab, you’ll learn how to generate parking lots, sweep vehicles around a site, and create a roundabout junction corridor. Step by step, you’ll learn how to choose a parking-lot style that is right for your site. Select the appropriate vehicle to check for turning movements and height clearances. Create a roundabout junction corridor to add to an existing AutoCAD Civil 3D software road corridor. You’ll also generate reports and customize the settings and standards for a specific project.

    Key Learnings
    • Learn how to create parking lots
    • Learn how to sweep vehicles through the site
    • Learn how to create roundabout junction corridors
    • Learn how to change object styles