_ΒΆ

Node|Plug child _ ( string path )

Get a Node or Plug by its absolute path.

This function is a shortcut for Document:findchild (path), as in _(path). Considering Lua's syntaxical properties, _"Material|MyNode" is considered a correct statement, returning MyNode in Material. Moreover, print(_"Perspective") will dump the content of the node Perspective. Note that print(_path) will print the content of _path, since _path is a valid Lua identifier, whereas print(_(path)) will print the content of the node which path is defined by path.

Arguments:

  • path the node or plug path

Return:

  • child the child node or plug