Method: Item for SynchronizationGroups
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Methods > Method: Item for SynchronizationGroups
Method: Item for SynchronizationGroups
Returns a synchronization group from the list of synchronization groups in DIAdem REPORT.
Set oSynchronizationGroup = Object.Item(IDOrIndex)
| Object | SynchronizationGroups Object with this method |
| IDOrIndex | Variant Specifies the name or index of the synchronization group. |
| oSynchronizationGroup | SynchronizationGroup Returned object |
![]() | Note You can always omit the Item method because it is the standard element of the collection. |
The following example displays the synchronization groups of the x-axes:
| VBScript | Python |
Dim oMyXSync, i, sOutput Set oMyXSync = Report.Settings.Synchronization.AxisSystem2D.XAxis For i = 1 to oMyXSync.Count sOutput = sOutput & oMyXSync.Item(i).ID & VBCrLf Next Call MsgBox(sOutput)
