.NET Framework Class Library
Revision Methods
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Revision Class > .NET Framework Class Library |
The Revision type exposes the following members.
Methods
|
Name |
Description |
|---|---|---|
|
Activates an older revision as current revision. |
|
|
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. |
|
|
Checks in the current open document and closes it |
|
|
Returns the way the current document has been checkedin. |
|
|
Checks out the current selected document and opens it. |
|
|
Checks-out a document whose unique is id equal to docUid, impersonating the user with name equal to user. |
|
|
Queries the MW datasource for the existance of a specific file in configuration. |
|
|
Equals |
(Inherited from Object.) |
|
Finalize |
(Inherited from Object.) |
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the current error state related to reading the revision parameters file. A value of 0 indicates success; 1 indicates an error occurred while reading or creating the configuration file. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the current enabled/disabled state of revision phase A. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the phase A revision array as a List(Of String). This list contains all possible revision labels for phase A (typically "Prerelease"), loaded from the configuration file and used to validate and manage prerelease states. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the phase A revision array as an Object. This array contains all possible revision labels for phase A (typically "Prerelease"), loaded from the configuration file and used to validate and manage prerelease states. This method is provided for compatibility with legacy code that expects an Object return type. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the caption/label for revision phase A (typically "Prerelease"). This caption is a human-readable description of phase A, used in user interfaces, reports, or logs to clearly indicate the meaning of the revision phase instead of using only codes or numbers. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the current enabled/disabled state of revision phase B. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the phase B revision array as a List(Of String). This list contains all possible revision labels for phase B (typically "Major"), loaded from the configuration file and used to validate and manage major release states. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the phase B revision array as an Object. This array contains all possible revision labels for phase B (typically "Major"), loaded from the configuration file and used to validate and manage major release states. This method is provided for compatibility with legacy code that expects an Object return type. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the caption/label for revision phase B (typically "Major"). This caption is a human-readable description of phase B, used in user interfaces, reports, or logs to clearly indicate the meaning of the revision phase instead of using only codes or numbers. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the current enabled/disabled state of revision phase C. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the phase C revision array as a List(Of String). This list contains all possible revision labels for phase C (typically minor revisions), loaded from the configuration file and used to validate and manage minor release states. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the phase C revision array as an Object. This array contains all possible revision labels for phase C (typically "Minor"), loaded from the configuration file and used to validate and manage minor release states. This method is provided for compatibility with legacy code that expects an Object return type. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the caption/label for revision phase C (typically "Minor"). This caption is a human-readable description of phase C, used in user interfaces, reports, or logs to clearly indicate the meaning of the revision phase instead of using only codes or numbers. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Returns the current revision separator string used to distinguish between major and minor revision parts. The separator is loaded from the configuration file and is typically a character such as "." or "-". |
|
|
GetHashCode |
(Inherited from Object.) |
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Retrieves the next revision label based on the provided name and revision array. |
|
|
Retrieves the number of revision for a document. |
|
|
GetType |
(Inherited from Object.) |
|
Increments the actual state of the last selected document or overwrites the current revision. |
|
|
MemberwiseClone |
(Inherited from Object.) |
|
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. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Determines whether the given revision is a major release based on the global revision phase settings and the provided revision string. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Determines whether the given revision is a minor release based on the global revision phase settings and the provided revision string. |
|
|
This method is the result of porting the legacy OnNewRev.lib library from VBScript to .NET. Determines whether the given revision is a pre-release based on the global revision phase settings and the provided revision string. |
|
|
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). |
|
|
ToString |
(Inherited from Object.) |
|
Opens a previous revision in the CAD desktop |
See Also