PdcCalculation.ActiveOperation

From External Bemet Wiki
Jump to navigation Jump to search

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