GetChildNames()

Gets the names of the specified object's children and returns them as a list.

Essential Keyword Arguments

ObjectPath : ObjectPath

Path of the object for which a list of child names is returned.

Return Type

List

Examples

Example 27: Get a list of names for child interfaces


DatamodelRoot().CouplingInterface.GetChildNames()

['Interface-1', 'Interface-2']