PdcOperation.SetupHour

From External Bemet Wiki
Revision as of 11:19, 22 June 2017 by Arjan (talk | contribs)
Jump to navigation Jump to search

Declaration

SetupHour as double

Description

This method returns the setup hours of an internal operation. If the operation is external or extra the methods returns 0

Notes

Code example

This method returns the setup time of the first operation of a calculation.

Sub sGetSetupHours
dim objCalc
dim objBWPL

  set objCalc = pdc.ActiveCalculation
  set objBWPL = objCalc.OperationList(0)

  msgbox objBWPL.SetupHour

  set objBWPL = nothing
  set objCalc  = nothing
End Sub

Availability

5.3 and onwards