Skip to main content

GetZenonDynamicProperties@1

The GetZenonDynamicProperties@1 node lists the children of a node in the zenon dynamic-property tree of a project. Use it to walk the tree one level at a time — start at the project root (path: "") and descend by following returned child names.

The AddIn follows COM-reference types (ZT_VARIABLE, ZT_FUNCTION, ZT_PICTURE, ZT_FILE, ZT_COMPUTER, …) into their own dynprop subtrees transparently. Value-type ZT_* (e.g. ZT_COLOR, ZT_ZEIT) and UNKNOWN return no children.

Requires the zenon Editor AddIn to be running and connected.

Adapter Prerequisites

Node Configuration

For fields targetPath, targetValueWriteMode, and targetValueKind, see Overview.

transformations:
- type: GetZenonDynamicProperties@1
projectIdOrName: MyZenonProject # project GUID or name
path: "" # "" = project root; dotted path otherwise
targetPath: $.children
targetValueWriteMode: Overwrite

Path contract

ValueMeaning
""Project root
NameScalar or direct child node
VariableCollection[0]Collection element by index
VariableCollection[0].NameNested path (dot-separated)

Output shape

{
"Success": true,
"ErrorMessage": null,
"Children": [
{ "Name": "Name", "Type": "String", "Label": "Projektname", "Group": "Name/Ordner" },
{ "Name": "VariableCollection", "Type": "SUBITEM", "Label": "Variablen", "Group": "" }
]
}

Items with Type: "SUBITEM" are traversable; leaf types (e.g. String, Int, Double, Bool, ZT_*) can only be read with GetZenonDynamicProperty@1.