PropertyGroup¶
PropertyGroup
dataclass
¶
PropertyGroup(match_name: str, name: str, enabled: bool | None = None, is_effect: bool = False, properties: list[Property] = list())
Bases: PropertyBase
Group of properties.
Attributes:
| Name | Type | Description |
|---|---|---|
is_effect |
bool
|
When true, this property is an effect PropertyGroup. |
elided
¶
get_property
¶
get_property(index: int | None = None, name: str | None = None) -> Property | None
Find and return a child property of this group.
The property can be specified by either its index or name (match name or display name).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index
|
int | None
|
The index of the property to return. |
None
|
name
|
str | None
|
The name of the property to return. |
None
|