RebuildComponentNamesFromFileNames

<< Click to Display Table of Contents >>

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

RebuildComponentNamesFromFileNames

available from build: 20050913

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

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

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