IDatabaseItems

class IDatabaseItems

Bases: ImpactCOMWrapperBase, Iterable

Description:

A collection of IDatabaseItem objects.

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

property count

Gets Count.

Description:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

item(index)
Description:

Gets an IDatabaseItem object with the specified name or index.

Remarks:

If the method parameter ‘Index’ is a string items will be found matching DRAWINGS.D_NAME or SYMBOL.S_NAME.

Parameters:

index (any) – Specifies the name or index of the item to get.

refresh()
Description:

Refresh the IDatabaseItems collection from the database.