Set String Array Attribute
Quick Facts
| Property | Value |
|---|---|
| Class | OlpCorePythonSetStringArrayAttribute |
| Module | cenpyolpcore.OlpCorePythonSetStringArrayAttribute |
| Package | cenpyolpcore |
| Release | R2025.2.4 |
| Methods | 6 |
| Inherits from | OlpCorePythonStringArrayAttribute |
Inheritance
Method Index
| Method | Returns | Summary |
|---|---|---|
SetOlpProperty | — | Sets the AttributeProperties of this attribute |
SetReadOnly | — | Sets whether or not this attribute is globally read-only |
SetName | — | Sets the name of the attribute |
SetGroupName | — | Sets the group name |
SetValues | — | Sets the current values |
SetValueUnitType | — | Sets the type of unit the value is given in. |
Mutation Methods
SetOlpProperty
def SetOlpProperty(olpProperty: int)Sets the AttributeProperties of this attribute
Parameters:
| Name | Type | Description |
|---|---|---|
olpProperty | int | AttributeProperties to be set |
SetReadOnly
def SetReadOnly(isReadOnly: bool)Sets whether or not this attribute is globally read-only
Parameters:
| Name | Type | Description |
|---|---|---|
isReadOnly | bool | True if the must be attribute is read-only, False otherwise |
SetName
def SetName(name: str)Sets the name of the attribute
Parameters:
| Name | Type | Description |
|---|---|---|
name | str | the name of the attribute |
SetGroupName
def SetGroupName(name: str)Sets the group name
Parameters:
| Name | Type | Description |
|---|---|---|
name | str | the name of the attribute group |
SetValues
def SetValues(values: list)Sets the current values
Parameters:
| Name | Type | Description |
|---|---|---|
values | list | — |
SetValueUnitType
def SetValueUnitType(valueUnitType: int)Sets the type of unit the value is given in. See AttributeValueUnitType for details and default units
Parameters:
| Name | Type | Description |
|---|---|---|
valueUnitType | int | new value unit type to be used |
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?