DIAdem Help

Property: Element for Property <Data>

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

Property: Element for Property <Data>

Specifies in the script interface for internal data the element to which a property belongs. The element might be a root type, a channel group type, or a channel type.

Set oElement = Object.Element
ObjectProperty <Data>
Object with this property
oElementElement <Data>
Returned object

The following example displays the name of the element to which the first property of the first channel from the first channel group belongs:

VBScriptPython

 

Dim oMyChannelProperty
Set oMyChannelProperty = Data.Root.ChannelGroups(1).Channels(1).Properties(2)
Call MsgBoxDisp(oMyChannelProperty.Element.Name)

Log in to get a better experience