MarkAsNewReference

<< Click to Display Table of Contents >>

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

MarkAsNewReference

Description

Marks the currently selected document as the replacing document

Syntax

call DBWShell("MarkAsNewReference [uid]")

Parameters

uid

Optional. unique id of the document to replace with.

Remarks

The effective substitution takes place in the parents of the replacing 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 uid is specified, DBWorks browser must be open.

See also

MarkAsReferenced
ReplaceReferenced

SWReplaceReferencedDocument