DIAdem Help

Method: Item for SynchronizationGroups

  • Updated2024-09-12
  • 1 minute(s) read

Method: Item for SynchronizationGroups

Returns a synchronization group from the list of synchronization groups in DIAdem REPORT.

Set oSynchronizationGroup = Object.Item(IDOrIndex)
ObjectSynchronizationGroups
Object with this method
IDOrIndexVariant
Specifies the name or index of the synchronization group.
oSynchronizationGroupSynchronizationGroup
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:

VBScriptPython

 

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)