PdcOperation.SetupHour: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:


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


== Notes ==
== Notes ==

Latest revision as of 11:23, 22 June 2017

Declaration

SetupHour as double

Description

This method returns or sets the setup hours of an internal operation.

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