.NET Framework Class Library
Revision Members

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Revision Class >

.NET Framework Class Library
Revision Members

The Revision type exposes the following members.

Methods

 

Name

Description

Public method

ActivateRevision

Activates an older revision as current revision.

Public method

Approve

The command displays the default single document approval dialog, with the two choices for approving to the next revision or back to the previous revision.

Public method

CheckIn

Checks in the current open document and closes it

Public method

CheckinFromCheckout

Returns the way the current document has been checkedin.

Public method

CheckOut

Checks out the current selected document and opens it.

Public method

CheckOutAsDifferentUser

Checks-out a document whose unique is id equal to docUid, impersonating the user with name equal to user.

Public method

CheckSavedConfiguration

Queries the MW datasource for the existance of a specific file in configuration.

Public method

Equals

(Inherited from Object.)

Protected method

Finalize

(Inherited from Object.)

Public method

GetHashCode

(Inherited from Object.)

Public method

GetNextRevisionLabel

Retrieves the next revision label based on the provided name and revision array.

Public method

GetNumberOfRevisions

Retrieves the number of revision for a document.

Public method

GetType

(Inherited from Object.)

Public method

IncrementRevisionState

Increments the actual state of the last selected document or overwrites the current revision.

Protected method

MemberwiseClone

(Inherited from Object.)

Public method

NewRevision

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.

Public method

ReleaseIsMajor

Determines whether the given revision is a major release based on the global revision phase settings and the provided revision string.

Public method

ReleaseIsMinor

Determines whether the given revision is a minor release based on the global revision phase settings and the provided revision string.

Public method

ReleaseIsPreRelease

Determines whether the given revision is a pre-release based on the global revision phase settings and the provided revision string.

Public method

RenameCurrentRevision

Renames the revision of the currently selected document with the assigned new name. If docUid is passed as optional argument, it works on the document with that unique id. If ecoID is passed as optional argument, the ECO_ID field of the REVISIONS table record is filled with the value passed to the function (used if docUid is specified).

Public method

ToString

(Inherited from Object.)

Public method

VisualizeRevision

Opens a previous revision in the CAD desktop

See Also

Revision Class

MwPDMApi Namespace