NewRevision

<< Click to Display Table of Contents >>

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

NewRevision

Description

The command is very similar to the IncrementRevisionState; the only difference is that the revision is not automatically incremented to a computer calculated value but, instead, is assigned as argument in the command.

Syntax

call DBWShell("NewRevision RevisionID [UniqueID [ AvoidInitialRevFile]]")

Parameters

RevisionID

name (number) of the revision

UniqueID

Optional. document unique id.

AvoidInitialRevFile

Optional.
0: create initial .gz revision file
1: do not create the initial .gz revision file

Remarks

If no unique id is specified, DBWorks browser must be open.

See below the states passages performed:

stateNEW New → stateCIN Checked-In

stateREL Released → stateCIN Checked-In

See also

IncrementRevisionState