opname expression function

Returns the name of a node given its path.

See also: opfullpath, opsubpath, oprelativepath

Usage

opname(name)

This is useful to find out the name of the network containing the node, e.g. opname("..") will return the name of the network containing the current node.