ReplaceReferenced

<< Click to Display Table of Contents >>

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

ReplaceReferenced

Description

Replace in the currently selected assembly the previously marked document

Syntax

call DBWShell("ReplaceReferenced [uid[okReplaceSelectedConfigurations]]")

Parameters

uid

Optional. unique id of the assembly in which execute the substitution.

okReplaceSelectedConfigurations

Optional.if "1", DBWorks will consider the exact configurations for its replacement operation

Remarks

The effective substitution takes place in the parents of the replaced part (parents are always drawings or assemblies). For this reason these documents has to be writeable (i.e. in checkout or in new mode) and unlocked.

warningIf no unique id is passed, DBWorks browser must be open.

See also

MarkAsNewReference

MarkAsReferenced

SWReplaceReferencedDocument