IRevertAction

class IRevertAction

Bases: ImpactCOMWrapperBase

Description:

Represents the revert information when reverting a drawing revision.$$OBJECT_MODEL$$%%Diagram%%” –>

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property action

Gets Action.

Description:

The action that is being taken when reverting the revision.

Returns:

The value of Action.

Return type:

action (ipRevertAction)

property layer

Gets Layer.

Description:

The affected layer.

Remarks:

Introduced in Impact 5.1.4.1.

Returns:

The value of Layer.

Return type:

layer (IDatabaseLayer)

property new_customer

Gets new_customer.

Description:

The new customer assigned after the revert.

Remarks:

If reverting the revision results in the customer being modified, the old_customer and new_customer properties are set. Both are null if the customer wasn’t modified.

Returns:

The value of new_customer.

Return type:

new_customer (ICustomer)

property new_revision

Gets new_revision.

Description:

The new revision created after the revert.

Remarks:

When the Action is raRevert the new_revision and old_revision are the same revision.

Returns:

The value of new_revision.

Return type:

new_revision (IDatabaseRevision)

property old_customer

Gets old_customer.

Description:

The old customer before the revert.

Remarks:

If reverting the revision results in the customer being modified, the old_customer and new_customer properties are set. Both are null if the customer wasn’t modified.

Returns:

The value of old_customer.

Return type:

old_customer (ICustomer)

property old_revision

Gets old_revision.

Description:

The revision used for the revert.

Remarks:

When the Action is raRevert the new_revision and old_revision are the same revision.

Returns:

The value of old_revision.

Return type:

old_revision (IDatabaseRevision)

property project

Gets Project.

Description:

Gets the project this revert action is associated with.

Returns:

The value of Project.

Return type:

project (IDatabaseItem)

property user

Gets User.

Description:

Gets the user who is performing the revert.

Returns:

The value of User.

Return type:

user (IUser)