Python scripting OLP Core - Attributes Setters

OlpCorePythonSetBoolAttribute, derived from OlpCorePythonBoolAttribute

 

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.

 


 

SetValue(value: bool)

 

 

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
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante