Remarks | Properties | Methods | Samples |
ED
|
avaliable
|
RT
|
avaliable
|
The ModellBreaks collection allows the access to the breaks of a shift. The breaks are the production-free times in a shift. The breaks consist of a unique name and a unique period of time.
Count | Parent | Session |
CreateBreak | DeleteBreak | Item |
'''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''Creating some breaks''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''' Sub holidaytest() Dim mypfs As PfsEngine Set mypfs = MyWorkspace.ActiveDocument.PFS Dim mystring As String Dim i As Double For i = 0 To 5 mystring = "testbreak" & i mypfs.Groups.Item(0).TimeModells.Item(0).Shifts.Item(0).Breaks.CreateBreak (mystring) Debug.Print mystring & " was created!" Next i End Sub