Python scripting OLP - Objects

CENPyOlpComputeHandler

 

Methods

 

EnableAutoRecompute()

 

Enable the recompute: all requests to the compute handler will be handled as usual.

 

[Example]

  computeHandler = Operator.GetComputeHandler()

  computeHandler.EnableAutoRecompute()

 


 

DisableAutoRecompute()

 

Disable the recompute: all requests to the compute handler will be ignored.

 

[Example]

  computeHandler = Operator.GetComputeHandler()

  computeHandler.DisableAutoRecompute()

 


 

TriggerRecompute(object: CENPyOlpProgram or CENPyOlpOperationGroup or CENPyOlpOperation, recomputeEnterState: ReComputeEnterState)

 

o

object

Computable object

 

o

recomputeEnterState

Type of the recompute enter state

 

Put a recompute request. The request will be executed regardless of the current compute mode.

 

[Example]

   computeHandler.TriggerRecompute(olpProgram, ENTERSTATE_COMPLETE)

or

   computeHandler.TriggerRecompute(olpOpGroup, ENTERSTATE_STARTWITHMANUALEVENTS)

or

   computeHandler.TriggerRecompute(olpOperation, ENTERSTATE_STARTWITHMANUALEVENTS)

 


 

 


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