ProjectCopy Object
The ProjectCopy object represents a project copy document of the current Document object. The properties of the ProjectCopy object are described below.
ProjectCopy Object Properties
The ProjectCopy object provides the following properties.
IsActive Property
True if the project copy is active. Read-only.
Syntax
IsActive As Boolean
MasterLocked Property
True if the corresponding master document is locked. Read-only.
Syntax
MasterLocked As AS_PCLOCK
HasConcurrentPCs Property
True if the current Document object has multiple concurrent project copies. Read-only.
Syntax
HasConcurrentPCs As Boolean
ProjectCopy Object Methods
The ProjectCopy object provides the following methods.
UnlinkFromMaster Method
Removes the reference between a project copy and its master document and optionally unlocks the master document if it was locked by the project copy that was detached.
Syntax
UnlinkFromMaster([UnlockMaster As Boolean = True])
Name | Description |
---|---|
UnlockMaster |
If True, unlocks the master document after the reference has been deleted. Optional. |
RequireMerge Method
Reverses the effects of the Confirm Merged with Master command and reactivates the project copy.
Syntax
Function RequireMerge()
Parameters
This method accepts no parameters.
UndoMakeObsolete Method
Reverses the effects of the Confirm Superseded by Master command and reactivates the project copy.
Syntax
Function UndoMakeObsolete()
Parameters
This method accepts no parameters.