RebuildComponentNamesFromFileNames

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Component >

RebuildComponentNamesFromFileNames

InvUsersOnly

Description

This command works on the active assembly renaming every component occurrence with the file name, traversing every sub-assembly, if any.

Syntax

call DBWShell("RebuildComponentNamesFromFileNames")

Remarks

The occurrence number ( typically at the end of the name, in the format :<number>, ex: MyComponentName:1 ) is preserved along the rename process.

The active assembly must be writeable and needs to be saved after the execution of the command