When working with large drawings there are so many properties in the project that we don't use, like layers, block definitions, line styles, dimension styles and others.
Drawings downloaded from the web, for example, often have many overlapping entities or were created with improper objects. Likewise, when importing from other formats like DGN, PDF or even DWG, we can bring entities that won't be used and could simply be deleted. Another usual issue, mainly when we work on very large projects, is to create or import blocks and styles that end up not being necessary.
It is clear that working on drawings with many useless objects can cause loss of performance and take up more space than necessary.
Here are 3 DraftSight commands that can help to reduce file size and increase performance by cleaning our drawings.
Purge
When we use this command, it evaluates all items that have been created or imported into the drawing and are not in use.
To run the command, type clean in the command window. (you can also type purge or only pu)
[https://blog.draftsight.com/wp-content/uploads/2018/03/IMG1.png]
In the Clean window select the option Delete dependent entities and click Delete All.
Discard Duplicates
Look at the drawing below, it is a circle drawn with the C command.
[https://blog.draftsight.com/wp-content/uploads/2018/03/IMG2-650x256.png]
Now notice that the same circle could have been drawn with multiple arcs, even so this is not the most appropriate way.
[https://blog.draftsight.com/wp-content/uploads/2018/03/IMG3-650x306.png]
To fix this, there is a command in DraftSight called Discard Duplicates. It turns a drawing made out of 18 arcs into a single object drawing. If you want to discard duplicate entities, you can select all entities, go to the Home tab and in Modify space use Discard Duplicates, like the image below.
[https://blog.draftsight.com/wp-content/uploads/2018/03/IMG4.png]
In the window that pops up you can click Ok without selecting anything.
We've tested this command with the design of a circuit breaker downloaded from its manufacturer's website. Notice that the command did reduce the number of entities from 1567 to 1205 and the file size has decreased by 10%.
[https://blog.draftsight.com/wp-content/uploads/2018/03/IMG7.png] [https://blog.draftsight.com/wp-content/uploads/2018/03/IMG6.png]
[https://blog.draftsight.com/wp-content/uploads/2018/03/IMG8.png]
Audit
Other important command to know is Audit (or check). The Check command is a diagnostic tool, it evaluates the integrity of a drawing and corrects errors if possible. For any error detected, a description is provided in the command window.
To run the Audit command you can enter it in the command window and then type Y to automatically fix drawing database errors. In case of you typing N, DraftSight will only show the number of errors encountered without correcting them.
Now that you know about these commands, test them out and share your results with us in the comments! How much space have you gained cleaning your dwg files?
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.
If you are not one of the named recipients or have received this email in error,
(i) you should not read, disclose, or copy it,
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,
(iii) Dassault Syst?mes does not accept or assume any liability or responsibility for any use of or reliance on this email.
Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer at 3DS.compliance-privacy@3ds.com
For other languages, go to https://www.3ds.com/terms/email-disclaimer
