Go to: Synopsis. Return value. MEL examples.
publishAnchorNodes(int $asParent, int $namingConvention, string $customName, string $nodes[], int $publish)
None
Variable Name | Variable Type | Description |
---|---|---|
$asParent | int | If 1, publish as parent anchor, else child. |
$namingConvention | int | How to choose the publish name. See description. |
$customName | string | Custom name for $namingConvention 1 and 2 |
$nodes | string[] | Nodes to publish. |
$publish | int | True for publish, false for unpublish. |
// publish the selected nodes as parent anchors, with the naming convention // of "parent_<nodeName>" publishAnchorNodes 1 1 "parent" `ls -sl` 1;