|
<< Click to Display Table of Contents >> Navigation: Options > Rename options |
When MechworksPDM renames a file, it normally makes a copy of it and give it a new name in order to grant that old revisions of assemblies find all the referenced files.
If this option is checked, MechworksPDM deletes the previous file, leaving only the file with the new name.
- Assembly A1 is composed of part P1 and part P2
- Approve A1 with revision R1
- Checkout now A1 and rename P2 as P3
- Approve A1 with revision R2
Now, when recalling A1/R1, the assembly A1 needs a reference to P2, also if P2 now has been renamed as P3, and, by default, MechworksPDM leaves the files of P2 as they are, without removing them.
Now, checking the option [X] Delete old file after a 'Rename', DBWorks removes the old files (in the above sample, P2 and all the revisions/images/trees files related). This causes that when A1/R1 will be activated, a missing reference file warning is emitted. On the other hand a benefit is that for in-working documents, any
reference to the old file will be warned, and this fact forces the user to replace the component.
MechworksPDM will update the LAST_MODIFIED_DATE field of every document that had a reference changed, so, in particular, for the document being renamed, for any parent document referencing the renamed document and for any in-context part document referencing the renamed document.
This option is useful when running with the Remote Access mode, so that every document that would have its references changed will be synchronized across the remote sites.
If checked, after the rename of a file, DBWorks changes the value of the ID based on the assigned file name.
The ID is changed only if the pre match between ID and FILE_NAME is verified.
If the option is unchecked, the ID won't be never changed
Otherwise, if the option is checked, the behavior is described here below:
ID |
FILE_NAME |
|---|---|
P1 |
P1.SLDPRT |
Rename P1.SLDPRT → P2.SLDPRT
ID |
FILE_NAME |
|---|---|
P2 |
P2.SLDPRT |
ID |
FILE_NAME |
|---|---|
010203 |
P1.SLDPRT |
Rename P1.SLDPRT → P2.SLDPRT
ID |
FILE_NAME |
|---|---|
P2 |
P2.SLDPRT |
ID |
CONFIG |
FILE_NAME |
|---|---|---|
010203 (cfg1) |
cfg1 |
P1.SLDPRT |
010203 (cfg2) |
cfg2 |
P1.SLDPRT |
Rename P1.SLDPRT → P2.SLDPRT
ID |
CONFIG |
FILE_NAME |
|---|---|---|
010203 (cfg1) |
cfg1 |
P2.SLDPRT |
010203 (cfg2) |
cfg2 |
P2.SLDPRT |
ID |
CONFIG |
FILE_NAME |
|---|---|---|
P1 (cfg1) |
cfg1 |
P1.SLDPRT |
P1 (cfg2) |
cfg2 |
P1.SLDPRT |
P1.SLDPRT → P2.SLDPRT
ID |
CONFIG |
FILE_NAME |
|---|---|---|
P2 (cfg1) |
cfg1 |
P2.SLDPRT |
P2 (cfg2) |
cfg2 |
P2.SLDPRT |
Read further information about rename of configuration
If checked, after the rename of a part or of an assembly file, DBWorks automatically renames all the parent drawings that have the ID beginning with the same ID of the part/assembly being renamed. The option is available only if the [X] Update the document ID after a 'Rename' is checked.
Note: the drawing destination directory is ALWAYS assumed to be the same of the part/assembly destination directory.
M:\CAD\FILES\Part1.SLDPRT PART to be renamed
M:\CAD\DRAWINGS\Part1-1.SLDDRW First drawing of M:\CAD\FILES\Part1.SLDPRT
M:\CAD\DRAWINGS\Part1-2.SLDDRW Second drawing of M:\CAD\FILES\Part1.SLDPRT
Rename M:\CAD\FILES\Part1.SLDPRT as Z:\CAD\RENAMEDFILES\NewPart1.SLDPRT
DBWorks automatically renames also:
M:\CAD\DRAWINGS\Part1-1.SLDDRW as Z:\CAD\RENAMEDFILES\NewPart1-1.SLDDRW
M:\CAD\DRAWINGS\Part1-2.SLDDRW as Z:\CAD\RENAMEDFILES\NewPart1-2.SLDDRW
Please note that the destination directory of the renamed parent drawings has been forced to Z:\CAD\RENAMEDFILES.
This option renames the ID only of the drawings for which the component being renamed has been added as the Main Document.
If this option is checked, after the rename of a document MechworksPDM moves the parent drawings files (with an ID similar to that of the part/assembly) to the same directory where the part/assembly file is located.
When checked, the Rename functionality is executed even if the document to be renamed is in checkedin state or if any of its parents is in checkedin state too. The command is stopped if any document file (current or parent) is locked; this typically happens when the documents are opened in a SW session or if they are checked-out by different users.
WARNING: we advice against activating this option since it introduces relevant risks operating on already approved documents.
When the use of such option is required, we recommend to backup periodically the file archive
This option allows the rename of released document or of documents that has released/frozen parents.
When renaming an assembly (by default for performance reasons), MechworksPDM never traverses down its structure beyond the first level.
For customers that works with in-context relations between components at levels over the first and the assembly itself, this option allows the correct resolving of the external reference change after a Rename command.
By enabling this option, a full assembly traversing is executed by DBWorks (using the SolidWorks Document Manager component), so a performance impact on the Rename command must be expected, expecially on large assemblies.
This option is enabled only if it's active also the option Open/Save→SaveAs→
Use DataEntr.LST data entry script on PDM 'Save as...'