ConstraintCollection

Provides access to data about a collection of ConstraintValueInfo providers. Note: This API is experimental and may change at any time.

constraint_settings

sequence ConstraintCollection.constraint_settings

The ConstraintSettingInfo values that this collection directly references.

get

ConstraintValueInfo ConstraintCollection.get(constraint=None)

Returns the specific ConstraintValueInfo for a specific ConstraintSettingInfo.

Parameters

Parameter Description
constraint

ConstraintSettingInfo

The constraint setting to fetch the value for.

May return None.