IVariableGroups

class IVariableGroups

Bases: ImpactCOMWrapperBase, Iterable

Description:

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.

Description:

The number of variable groups in the collection.

Returns:

The value of Count.

Return type:

count (int)

clear_material_variables()
Description:

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.

item(index)
Description:

Gets a variable group with a specified name or index.

Parameters:

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