Python scripting OLP Core - Attributes Setters

OlpCorePythonSetStringArrayAttribute, derived from OlpCorePythonStringArrayAttribute

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.

 


 

SetValues(value: string)

 

 

o

value

attribute value

 

Sets the value of the attribute.


 

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.

 


 

 


Previous
Previous page
Chapter
Chapter page
Next
Next page