Go to: Synopsis. Return value. MEL examples.
containerAutopublishRoot
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $objs | string[] | , the selection to be considered when choosing a root |
| $val | int | if 1, publish the translate, rotate and scale for the root |
| $preview | int | if 1, print the name of the node that would be published as root. |
// auto publish the root for container1, and publish its TRS attributes select -r container1; containerAutopublishRoot 1 0;