IDatabaseLayerRevision¶
- class IDatabaseLayerRevision¶
Bases:
ImpactCOMWrapperBase- Summary:
Represents one revision of a layer stored in the database.
- Remarks:
Introduced in Impact 6.4.0.7 and 7.0.0.49.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property comments¶
Gets Comments.
- Summary:
The comments assigned to this revision of the drawing.
- Returns:
The value of Comments.
- Return type:
comments (str)
- property created_date_time¶
Gets created_date_time.
- Summary:
The date and time that the revision was made.
- Returns:
The value of created_date_time.
- Return type:
created_date_time (datetime)
- property file_location¶
Gets file_location.
- Summary:
The location of the revision drawing file in the database.
- Returns:
The value of file_location.
- Return type:
file_location (str)
- property has_geometry¶
Gets has_geometry.
- Summary:
Indicates whether the layer geometry was stored with this revision.
- Returns:
The value of has_geometry.
- Return type:
has_geometry (bool)
- property key¶
Gets Key.
- Summary:
The database key for the layer revision.
- Returns:
The value of Key.
- Return type:
key (int)
- property layer_comments¶
Gets layer_comments.
- Summary:
The comments assigned to this revision of the layer.
- Remarks:
Introduced in Impact 14.0.0.16
- Returns:
The value of layer_comments.
- Return type:
layer_comments (str)
- property layer_number¶
Gets layer_number.
- Summary:
The layer revision number.
- Returns:
The value of layer_number.
- Return type:
layer_number (int)
- property layer_revision_key¶
Gets layer_revision_key.
- Returns:
The value of layer_revision_key.
- Return type:
layer_revision_key (int)
- property number¶
Gets Number.
- Summary:
The project revision number.
- Returns:
The value of Number.
- Return type:
number (int)
- property user¶
Gets User.
- Summary:
The user that created this revision.
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.
- open_copy()¶
- Summary:
Open a copy of the revision.
- refresh()¶
- Summary:
Refresh the IDatabaseLayerRevision properties from the database.
Examples