PdcOperation.SetupHour
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