& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Use the AUDIT command to find and fix errors in a file, and write the results to a file.
Type:
Tutorial
Length:
2 min.
Transcript
00:04
The road to file corruption is rarely a single event.
00:07
Instead, it's a variety of problems collected over time.
00:10
Fortunately,
00:11
AUTOCAD provides a tool to help you keep your files clean and performing their best.
00:16
It's called audit.
00:17
And you can find it in the clean up panel of the manage tab of the ribbon.
00:21
If you prefer,
00:22
you can just type audit
00:24
in the command line. Let's click on audit. Now,
00:27
speaking of the command line,
00:29
there is no dialogue associated with audit. It's all command line based.
00:33
So let's focus our attention there.
00:35
Of course, if you have dynamic input turned on,
00:38
you'll get the same prompts near your cursor
00:40
for clarity.
00:41
I'm going to pan over a bit and move my command line into the editor.
00:45
Unless you just really want to. There's no reason for you to do the same.
00:50
The first prompt asks if you want to fix any errors that are detected.
00:54
The default is no.
00:55
So if you want to just scan the file type in for no and hit enter
00:59
and you'll get the results report on the text screen.
01:02
Typically
01:03
you'll want to fix any errors. So let's type Y for yes and hit return
01:07
audit will get to work. Scanning the current space of the drawing
01:11
when it's done.
01:12
The last thing it reports is how many errors it found and how many it is fixed.
01:16
It also reports any objects it was forced to erase.
01:19
Press F two on your keyboard to see the entire report.
01:23
Let's press F two again to collapse the text window.
01:27
If you want audit to write the results to a file set, the system variable, audit
01:31
CTL or as I like to call it audit control to one. And
01:35
after running the audit command, a text file with an
01:38
ADT file extension is created that describes the problem and the action taken,
01:43
the
01:43
ADT file will be written to the same folder as the drawing.
01:47
Let's set audit control back to its default of zero.
01:51
Also, if audit finds errors in certain objects,
01:54
it will place them into the previous selection set
01:56
so that you can isolate and analyze them further.
Video transcript
00:04
The road to file corruption is rarely a single event.
00:07
Instead, it's a variety of problems collected over time.
00:10
Fortunately,
00:11
AUTOCAD provides a tool to help you keep your files clean and performing their best.
00:16
It's called audit.
00:17
And you can find it in the clean up panel of the manage tab of the ribbon.
00:21
If you prefer,
00:22
you can just type audit
00:24
in the command line. Let's click on audit. Now,
00:27
speaking of the command line,
00:29
there is no dialogue associated with audit. It's all command line based.
00:33
So let's focus our attention there.
00:35
Of course, if you have dynamic input turned on,
00:38
you'll get the same prompts near your cursor
00:40
for clarity.
00:41
I'm going to pan over a bit and move my command line into the editor.
00:45
Unless you just really want to. There's no reason for you to do the same.
00:50
The first prompt asks if you want to fix any errors that are detected.
00:54
The default is no.
00:55
So if you want to just scan the file type in for no and hit enter
00:59
and you'll get the results report on the text screen.
01:02
Typically
01:03
you'll want to fix any errors. So let's type Y for yes and hit return
01:07
audit will get to work. Scanning the current space of the drawing
01:11
when it's done.
01:12
The last thing it reports is how many errors it found and how many it is fixed.
01:16
It also reports any objects it was forced to erase.
01:19
Press F two on your keyboard to see the entire report.
01:23
Let's press F two again to collapse the text window.
01:27
If you want audit to write the results to a file set, the system variable, audit
01:31
CTL or as I like to call it audit control to one. And
01:35
after running the audit command, a text file with an
01:38
ADT file extension is created that describes the problem and the action taken,
01:43
the
01:43
ADT file will be written to the same folder as the drawing.
01:47
Let's set audit control back to its default of zero.
01:51
Also, if audit finds errors in certain objects,
01:54
it will place them into the previous selection set
01:56
so that you can isolate and analyze them further.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Sign in for the best experience
Save your progress
Get access to courses
Receive personalized recommendations
May we collect and use your data?
Learn more about the Third Party Services we use and our Privacy Statement.May we collect and use your data to tailor your experience?
Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.