You are on page 1of 4

Civil 3D - Paving the Way: RegApps (File Corruption & Problem Dra...

http://c3dpavingtheway.blogspot.com/2005/08/regapps-file-corruption...

CARI BLOG

TANDAI BLOG

Blog Berikut

Buat Blog | Masuk

Civil 3D - Paving the Way


An Autodesk Civil 3D Resource

1 of 4

13/03/2008 5:23

Civil 3D - Paving the Way: RegApps (File Corruption & Problem Dra...

http://c3dpavingtheway.blogspot.com/2005/08/regapps-file-corruption...

Tuesday, August 16, 2005

RegApps (File Corruption & Problem Drawings)


You have a problem drawing. It's slow to respond to commands, it's bogging down, and the visual content doesn't justify the file size. It crashes for no apparent reason, you can't nail down the problem, and it seems to be getting worse. Computer hardware problems, power surges, user mistakes, or software problems can cause errors that prevent you from editing or plotting the drawing. By saving and AUDITing your work regularly, you can ensure a minimum of lost data if your system fails. Its interesting to note, if you AUDIT a drawing, and the command hangs for no apparent reason, you may have the following issue: RegApps Some major programs on the market (not an Autodesk, Bently, or Carlson product) have a tendency to save registered applications with an invalid name, such as "##*a%")?s*" in an AutoCAD drawing file (similar to an anonymous block). Anytime this drawing is used, even as an xref, new "##*a%")?s*" RegApp entries will be added to the drawing referencing it, as AutoCAD doesn't recognize that "##*a%")?s*" is already registered in the current drawing; a "virus" is born. Invalid RegApp entries will balloon a drawing over time, Audit will report no errors, but at some point, the drawing will no longer open. You can check if the "bloating" is indeed caused by this "virus" by doing the following test: Issue the following command at the AutoCAD command prompt:(tblnext "appid" 5)(while (print (tblnext "appid"))) If this action produces a similar listing to the one below (often scrolling infinitely), you need to clean the infected drawing (EP is a reference to Eagle Point): ((0 . "APPID") (2 . "EP##*a%") (70 . 0)) ((0 . "APPID") (2 . "EP##*a%") (70 . 0)) ((0 . "APPID") (2 . "EP##*a%") (70 . 0)) ((0 . "APPID") (2 . "EP##*a%") (70 . 0)) ((0 . "APPID") (2 . "EP##*a%") (70 . 0)) If you enter -purge at the Command prompt, -PURGE displays the following prompt on the command line: Enter type of unused objects to purge: [Blocks/Dimstyles/LAyers/LTypes/Plotstyles/SHapes /textSTyles/Mlinestyles/Tablestyles/Regapps/All]: Enter "R" to purge unused applications. -PURGE removes only one level of reference. Repeat -PURGE until there are no unreferenced named objects. As an alternative, download the following routine (will clean an entire directory and any attached x'refs): http://tinyurl.com/bbmkz Thanks to James Maeding, Shaan Hurley and the Autodesk Developer Network for making this tool available! The tool can be used to purge unwanted Layer Filters and unnecessary REG APP IDs in DWG files. This tool actually purges any APP ID that is not needed, just like the -PURGE command does in

2 of 4

13/03/2008 5:23

Civil 3D - Paving the Way: RegApps (File Corruption & Problem Dra...

http://c3dpavingtheway.blogspot.com/2005/08/regapps-file-corruption...

About Me
Scott McEachron

For almost 10 years I've taught subdivision and site design techniques to private engineering firms, professional associations and societies, as well as Federal, State, and Local government agencies and Colleges & Universities from coast to coast. I've worked with the Autodesk Civil/Survey suite of products for nearly 20 years, have taught many of the firms on ENRs list of the Top 50 Design Firms, have been an instructor at Autodesk University for the past 5 years, and am an Autodesk Implementation Certified Expert (ICE). View my complete profile

Subscribe
Subscribe

Freely Distributed GIS Data


*US County Boundaries *USGS QUAD Grid Geospatial & Attribute Data (Incredible Site) GIS Data Depot Google Moon National Atlas NGS Data Sheets NRCS Soil Data

Civil 3D Success Story


CT Brannon, Tyler, TX

Civil 3D Links
Civil Engineering Community Civil 3D Product Information Civil 3D Trial CD Civil 3D Service Packs Civil 3D Utilities Civil 3D "White Papers" Civil 3D Discussion Group Cad Digest Civil 3D Reading Room Civil 3D Webcasts Autodesk Beta Testing

Civil 3D Books
Autodesk Civil 3D 2006 Residential Grading Autodesk Civil 3D: Procedures and Applications

3 of 4

Civil 3D 2006 Essentials

13/03/2008 5:23

Civil 3D - Paving the Way: RegApps (File Corruption & Problem Dra...

http://c3dpavingtheway.blogspot.com/2005/08/regapps-file-corruption...

Technorati
Blogs that link here

4 of 4

13/03/2008 5:23

You might also like