Python scripting OLP - Objects

CENPyOlpAttributeBool

 

Methods

 

SetOlpProperty(iOlpProperty: unsigned int)

 

o

iOlpProperty

OLP attribute use level. Is a bitmask and can be a combination of one ore more levels. (see Attribute use level )

 

Sets Olp Property of attribute.

 

[Example]

myAttrib.SetOlpProperty( USER_ATTRIBUTE | PROCESS_ATTRIBUTE | GLOBAL_ATTRIBUTE )

 


 

GetVisibility(): bool

 

o

return

visibility status from attribute

 

Get visibility status of attribute.

 

[Example]

myAttrib.GetVisibility()

 


 

SetVisibility (visible: bool)

 

o

visible

visibility status to attribute

 

Set visibility status of attribute.

 

[Example]

myAttrib.SetVisibility(True)

 


 

GetName(): string

 

o

return

current name of the attribute

 

Get name of attribute.

 

[Example]

strNyAttribName = myAttrib.GetName()

 


 

SetName(name: string)

 

o

name

new name for the attribute

 

Set name of attribute.

 

[Example]

myAttrib.SetName("NewAttributeName")

 


 

SetState(trueFalse: bool)

 

o

trueFalse

new state for the attribute

 

Set state value of attribute.

 

[Example]

myAttrib.SetState(False)

 


 

GetState(): bool

 

o

return

current state for the attribute

 

Get value of attribute.

 

[Example]

attribSatate = myAttrib.GetState()

 


 

SetReComputeEnterState(reComputeEnterState: ReComputeEnterStates)

 

 

o

reComputeEnterState

Enter state of recompute triggered bu change of this attribute value. (see ReComputeEnterStates )

 

 

[Example]

myAttrib.SetReComputeEnterState( ENTERSTATE_COMPLETE )

 


 

GetReComputeEnterState(): Int

 

o

return

Enter state of recompute triggered bu change of this attribute value. (see ReComputeEnterStates )

 

 

[Example]

reComputeEnterState = myAttrib.GetReComputeEnterState()

 


 

 


Previous
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante