IVariableGroups

class IVariableGroups

Bases: ImpactCOMWrapperBase, Iterable

Summary:

A collection of IVariableGroup 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.

Summary:

The number of variable groups in the collection.

Returns:

The value of Count.

Return type:

count (int)

clear_material_variables()
Summary:

Clears all material variables and material variable groups from the collection.

Remarks:

This function fails for variables not associated with a drawing or layer. Use this function with care as it may result in variable formula generating warnings if dependant variables are deleted. Introduced in Impact 8.0.0.94.

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.

item(index)
Summary:

Gets a variable group with a specified name or index.

Parameters:

index (any) – The name or index of the variable group to get.