ProjectCopy Object

The ProjectCopy object represents a project copy document of the current Document object. The properties of the ProjectCopy object are described below.

ClosedProjectCopy Object Properties

The ProjectCopy object provides the following properties.

ClosedIsActive Property

True if the project copy is active. Read-only.

Syntax

IsActive As Boolean

ClosedMasterLocked Property

True if the corresponding master document is locked. Read-only.

Syntax

MasterLocked As AS_PCLOCK

ClosedHasConcurrentPCs Property

True if the current Document object has multiple concurrent project copies. Read-only.

Syntax

HasConcurrentPCs As Boolean

ClosedProjectCopy Object Methods

The ProjectCopy object provides the following methods.

ClosedUnlinkFromMaster 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])
Parameters
Name Description

UnlockMaster

If True, unlocks the master document after the reference has been deleted. Optional.

ClosedRequireMerge 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.

ClosedUndoMakeObsolete 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.

2024