nanoCAD Platform Help

Purging of Document

CAD drafting Purging of Document 0       nanoCAD button – Utilities >CAD software Purging of Document 1 Purge

CAD drawing Purging of Document 2       Menu: File – Drawing Utilities > CAD drafting Purging of Document 3 Purge …

CAD software Purging of Document 4        Document tab context menu: Utilities > CAD drawing Purging of Document 5 Purge…

CAD drafting Purging of Document 6 Command line: PURGE, PU

This command is used to purge unused named elements from a document: block descriptions, dimension styles, layers, text styles and line types.

Using this procedure, you can reduce file size after finishing your project.

CAD software Purging of Document 7

Attention

Deleted elements cannot be recovered.

 

The Purge dialog box appears after the command is launched, which shows two tabs:

·          Purgeable items – a list of elements that can be deleted;

·          Non-purgeable items – a list of elements that cannot be deleted from the document. These elements are either used in the document or are standard and cannot be deleted.

CAD drawing Purging of Document 8

General view of the Purge Document dialog box

The lists of items are organized into a tree structure with categories.

To view or hide elements in a category, double-click the name or click the CAD drafting Purging of Document 9 (expand) / CAD software Purging of Document 10 (collapse) icon. The absence of an icon indicates that there are no elements in that category. The Collapse All/Expand All button allows you to hide or display elements in all categories simultaneously.

A preview window for the element selected in the list is located on the right.

Purgeable Items Tab

CAD drawing Purging of Document 11

The Purgeable Items tab

The following options are available for named drawing objects:

·          Purge sortents entries – enables/disables the removal of empty entries in the sort table (in the object order list controlled by the DRAWORDER command).

·          Purge unused annotation scales – enables/disables the removal of annotative scales.

The following options are available for unnamed drawing objects:

·          Purge zero-length geometry – enables/disables the removal of zero-length geometry. This checkbox is unavailable if no such geometry is present in the document.

·          Purge empty text objects – enables/disables the removal of empty text objects. This checkbox is unavailable if no such objects are present in the document.

·          Automaticallyy purge orphaned data – enables/disables the removal of unused line style data from *.dgn format.

Item deletion parameters:

·          Confirm each item to be purged – enables/disables the confirmation prompt for each item being deleted:
CAD drafting Purging of Document 12

·          Yes – confirms deletion of each selected item;

·          Yes to All – confirms deletion of all selected items at once;

·          No – cancels deletion of the selected item;

·          Cancel – exits the purge mode.

·          Purge nested items – enables/disables deletion of all unused named objects contained within other unused named objects. The purge is confirmed in a separate dialog box.

There are two options for purging items:

·          CAD software Purging of Document 13 – button for deleting all items in the list;

·          CAD drawing Purging of Document 14 – button for deleting selected items. Items and/or categories to be deleted are pre-selected with checkboxes CAD drafting Purging of Document 15 in the list.

Non-Purgeable Items Tab

CAD software Purging of Document 16

Non-purgeable items tab

The tab displays a list of non-purgeable elements and provides the following information: Preview; Possible reasons; Details (for example, the number of items in the drawing).

Purging a Document Using the Command Line

CAD drawing Purging of Document 17 Command line: -PURGE, -PU

The version of the PURGE command to work from the command line. Contains expanded purging abilities.

Non-dialog Command Option:

Purge document. In the command options, select the type of unused named objects to be deleted.

Option

Description

Blocks

Block definitions.

DEtailviewstyles

Detail view styles.

Dimstyles

Dimension styles.

Groups

Groups.

LAyers

Layers.

LTypes

Line types.

MAterials

Materials.

MUltileaderstyles

Multileader styles.

Plotstyles

Plot styles.

SHapes

Shapes.

textSTyles

Text styles.

Mlinestyles

Multiline styles.

SEctionviewstyles

Section view styles.

Tablestyles

Table styles.

visualstyles

visual styles.

Regapps

Registered applications.

Zero-length_geometry

Zero-length geometry.

Empty_text_objects

Empty text objects.

Orphaned_data

Unused line style data from *.dgn format.

ANnotscales

A nnotative scales.

Point_clouds

Point clouds.

sorTTable

Purging the sorting table, which contains lists of objects ordering (DRAWORDER). Sometimes, there are so many such records that the program starts working with the document much slower. Purging of this list removes empty entries, greatly speeding up your work.

Full

Automatic full purge of a document. Including the purge of objects having zero-length geometry, empty text objects, annotative scales and registered applications.

All

Purging unused objects of the same nesting level. Objects having zero-length geometry and empty text objects are not purged.

Command prompts:

Enter type of unused objects to purge [Blocks/DEtailviewstyles/Dimstyles/Groups/Layers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length_geometry/Empty_text_objects/Orphaned_data/ANnotscales/Point_clouds/Full/All]:

Select the type of objects to purge, press ENTER.

Enter name(s) to purge <*>:

Enter names to purge or press ENTER to search for all elements of selected type.

Verify each name to be purged? [Yes/No] <Yes>:

To confirm purging of each element, select Yes.

Save log of purged items? [Yes/No]:

A request to create a text file containing complete information about the command’s execution. The main results of the purge are output to the command line. The default folder is C:\Users\User_name \AppData\Local\Temp.

When Yes option is selected, a *.txt file will be created, No – the file is not created.

Info: NanoCAD is an easy-to-use, affordable, and yet professional, CAD software tool for PC, that provides an outstanding user experience by providing enhanced performance, full capability, a classic interface and native.dwg format support. nanoCAD has been built to deliver design and project documentation for all industrial purposes. nanoCAD includes a full suite of basic and advanced CAD tools for 2D/3D drawing and creating industry-standard DWG-compatible CAD files. Our tool ensures groundbreaking, collaborative and customizable features to boost your efficiency, and includes several API's, allowing anything from routine task automation to complex CAD application development. You may download nanoCad for free, using the links below, and buy later, if you like it.