Object: Property <Data>
- Updated2024-09-12
- 2 minute(s) read
(AssignmentChannel | CalculationChannel | Channel | ChannelGroup | Collections | ComplexChannel | ImplicitChannel | Root | VideoChannel ) > Properties > Object: Property <Data>
Object: Property <Data>
The Property object provides a property for the Root object, for the ChannelGroup object, or for the Channel object in the script interface for internal data. This property is either a DIAdem base property or a custom property. The Property object is an element of the Properties or PropertyList collection.
![]() | Note Refer to Properties in DIAdem - Overview for information about properties of files, groups, and channels. |
The following example searches for the MyOffset channel property in all the channels of the first channel group and doubles the value of the property:
VBScript | Python |
Dim oMyChn, oMyProp For Each oMyChn in Data.Root.ChannelGroups(1).Channels For Each oMyProp in oMyChn.Properties If oMyProp.Name = "MyOffset" Then oMyProp.Value = oMyProp.Value * 2 End If Next Next
Returned From
Properties <Data>.Add | Properties <Data>.Item | PropertyList <Data>.Add | PropertyList <Data>.Item