PdcOperation.SetupHour: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == SetupHour as double == Description == This method returns the Setup hours of an internal operation. == Notes == == Code example == This method returns th..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
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.


== Notes ==
== Notes ==
Line 9: Line 9:


== Code example ==
== Code example ==
This method returns the Setup hours of the first internal operation of a calculation.
This method returns the setup time of the first operation of a calculation.


<source lang="vb">
<source lang="vb">

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