VX CAD-CAM Logo
Any: Find articles with any keyword.
All: Find articles with all keywords (in any order).
Exact: Find articles with exact keywords (complete title must match exactly).
Title: Search titles only.
Content: Search article content only.
Both: Search both Articles and Content.
  VXCAD Base                   Jump to:
 
Knowledge Base Home Home | Knowledge Base Index Index | Sign Up as Writer Sign Up | Knowledge Base Glossary Glossary | Contact Us Contact Us
Home > All Categories > 11. VX Object Level > Clean File
Question Title Clean File

Invoked by Tools (Object Level)

When this command is executed, VX traverses each root object in the active file (e.g. part, sheet, plan) tagging each object it runs into.   All objects that are not touched by the traversal are assumed to be "leaked" and are deleted.  A leaked object is a sub-object that is not referenced by any root object.  It is assumed that an unreferenced sub-object should have been deleted but was not.  

Leaked objects can cause problems in undo-redo, particularly when you have manually deleted a session file.  They've also been caused by problems cleaning up after an aborted history regen.

Due to a few nuances of cleaning files, it is possible that the "clean" command could delete a valid sub-object. Therefore, this command should not be used casually.   It should only be used to "repair" files that seem to have a definite problem -- files that are inordinately large.   Before concluding that a file is "inordinately" large, one should consider whether the file has "StartData" and "Backup" features, which store a lot of "invisible" data.

It should also be noted that session files are the repository for undo-redo data that will grow in relation to the number of undo-redo steps utilized and the size of the objects that are being undone/redone.    This data is cleaned up when the file is archived.   If the "VxSession" file is tampered with, VX may be unable to properly cleanup the undo-redo data in an archived file.   In this case, the Clean File command is the only way to get rid of the old data.

A recommended procedure for using this command would be to backup the original file, execute the command and then ensure that root objects in the "clean" file regenerate/recalculate okay before replacing the original file with the "clean" file.
Authored by: VX Technical Support
Click Here to View all the articles in 11. VX Object Level category.
File Attachments File Attachments
There are no attachment file(s) related to this article.
Article Information Additional Information
Article Number: 225
Created: 28 Jan, 2008 3:21 PM
Last Modified: 31 Dec, 2008
Rating No Rating
Article Options Article Options
Print Question Print this Article del.icio.us Bookmark del.icio.us Bookmark
Email Question Email this Article to Friend Digg It Digg It
Export to MS Word Export to MS Word Furl It Furl It
Bookmark Article Subscribe to Article Subscribe to Article
 
Related Questions Related Articles
  1. VX Object Manager
  2. Introduction - Object Level
  3. Delete Root Objects
  4. Fix Objects
  5. Copy Root Object
  6. Move Root Object
  7. Insert New Root Object
  8. Object Browser
  9. About Root Objects
 
 

Powered by VX CAD/CAM