Python scripting OLP Core - Attributes Setters

OlpCorePythonSetIntegerArrayAttribute, derived from OlpCorePythonIntegerArrayAttribute

Previous  Chapter  Next

 

Methods

 

SetOlpProperty(attributeProperties: AttributeProperties)

 

 

o

attributeProperties

attribute properties to be set

 

Sets attribute properties.

 

SetReadOnly(isReadOnly: bool)

 

 

o

isReadOnly

true, if the attribute must be read only, false otherwise

 

Sets whether or not this attribute is globally read-only.

 


 

SetName(name: string)

 

 

o

name

the attribute name

 

Sets attribute name.

 


 

SetGroupName(groupName: string)

 

 

o

name

the attribute group name

 

Sets attribute group name.

 


 

SetValueUnitType(valueUnitType: int)

 

 

o

valueUnitType

new value unit type to be used

 

Sets the type of unit the value is give in. See AttributeValueUnitType for details and default units.

 


 

 

SetValue(value: string)

 

 

o

value

attribute value

 

Sets the value of the attribute.



Previous
Previous page
Chapter
Chapter page
Next
Next page