PdcCalculation.ActiveOperation: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability =="
 
No edit summary
 
Line 1: Line 1:
== Declaration ==
== Declaration ==
 
ActiveOperation as [[PdcOperation]]


== Description ==
== Description ==
 
Returns the active operation object


== Notes ==
== Notes ==
 
This property returns the active operation object.


== Code example ==
== Code example ==
 
This code example opens the active calculation and the active operation and changes the required set up time then saves and refreshes the active calculation.


<source lang="vb">
<source lang="vb">
dim objCalc
dim objOperation


  set objCalc = pdc.ActiveCalculation
  set objOperation = objCalc.ActiveOperation
  objOperation.SetUpTime = 3
  objCalc.Save
  objCalc.Refresh
</source>
</source>


== Availability ==
== Availability ==

Latest revision as of 08:53, 21 May 2012

Declaration

ActiveOperation as PdcOperation

Description

Returns the active operation object

Notes

This property returns the active operation object.

Code example

This code example opens the active calculation and the active operation and changes the required set up time then saves and refreshes the active calculation.

dim objCalc
dim objOperation

  set objCalc = pdc.ActiveCalculation
  set objOperation = objCalc.ActiveOperation
  objOperation.SetUpTime = 3
  objCalc.Save
  objCalc.Refresh

Availability