ICountItemsOptions¶
- class ICountItemsOptions¶
Bases:
ImpactCOMWrapperBase- Description:
A parameters object defining the count operation that will be performed by IDatabase.count_items or IDatabase.count_layers.
- Remarks:
Introduced in Impact 6.1.0.43
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property drawing_type¶
Gets drawing_type.
- Description:
The type of drawings to count.
- Remarks:
Ignored when counting layers.
- Returns:
The value of drawing_type.
- Return type:
- property include_added_layers¶
Gets include_added_layers.
- Description:
Indicates if layers added to the project will be included in the count when counting layers.
- Returns:
The value of include_added_layers.
- Return type:
include_added_layers (bool)
- property include_deleted_layers¶
Gets include_deleted_layers.
- Description:
Indicates if layers deleted from the project will be included in the count when counting layers.
- Returns:
The value of include_deleted_layers.
- Return type:
include_deleted_layers (bool)
- property layer_table_context¶
Gets layer_table_context.
- Description:
When counting layers, the name of the layer type to count.
- Remarks:
Leave this blank when counting drawings. When counting general layers (ie of any type), use “LAYERS”. Otherwise, use the name of the specific layer type being counted.
- Returns:
The value of layer_table_context.
- Return type:
layer_table_context (str)
- property query_mts¶
Gets query_mts.
- Description:
The database_query MTS object used to do the counting.
- Remarks:
If this is not NULL, the SQL property will be ignored.
- Returns:
The value of query_mts.
- Return type:
- property sql¶
Gets SQL.
- Description:
Where clause of the SQL used to do the counting.
- Remarks:
If query_mts is not NULL, SQL will be ignored. When counting layers, all referenced columns must be qualified with their table name.
- Returns:
The value of SQL.
- Return type:
sql (str)
- property sql_filter_conditions¶
Gets sql_filter_conditions.
- Returns:
The value of sql_filter_conditions.
- Return type:
sql_filter_conditions (any)