ParameterProperty
General script for parameter properties
ParameterProperty
Canonical path: ParameterProperty.ParameterProperty
Definition of class ParameterProperty
attribute_id
property
writable
Get the attribute id of the property
Returns:
-
int | list[int]
–attribute id of the property.
attribute_id_str
property
writable
Get the attribute id string of the property
Returns:
-
str
–attribute id of the property.
dimensions
property
writable
Get the dimensions of the property in case of a list
Returns:
-
str
–dimensions.
enum_dict
property
writable
Get the enumeration list for the input values
Returns:
-
dict[int, IntEnum]
–enumeration list
exclude_identical
property
writable
Get the exclude identical state
If True, the parameter is not used for checking identical PythonParts
Returns:
-
bool
–returns
group_name
property
writable
Get the group name of the property
Returns:
-
str
–name of the property.
input_type
property
writable
input_type: InputType
list_reverse
property
writable
Get the list reverse state
Returns:
-
bool
–returns
list_squeeze
property
writable
Get the list squeeze state
Returns:
-
bool
–returns
named_tuple_def
property
Get the named tuple definition
Returns:
-
NamedTupleDef | None
–named tuple definition
persistent
property
writable
persistent: Persistent
Get the persistent state of the property
Returns:
-
Persistent
–persistent state (save in the PythonPart data).
selected_value
property
writable
Get the selected value of the property
Returns:
-
Any
–value of the property.
value
property
writable
Get the value of the property
Returns:
-
Any
–value of the property.
value_list_util
property
writable
Get the combo box value list utility
Returns:
-
ComboBoxValueListUtil | None
–combo box value list utility
value_type
property
writable
Get the value type of the property
Returns:
-
ParameterPropertyValueType
–value type.
InputType
Canonical path: ParameterProperty.ParameterProperty.InputType
Bases: IntEnum
Class used to define the type of inputs
Persistent
Canonical path: ParameterProperty.ParameterProperty.Persistent
Bases: IntEnum
Definition of class PersistentType
deep_copy
deep_copy() -> ParameterProperty