Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
containerBind [-allNames] [-bindingSet string] [-bindingSetConditions] [-bindingSetList] [-force] [-preview]
containerBind is undoable, queryable, and editable.
This is an accessory command to the container command which is used
for some automated binding operations on the container. A container's
published interface can be bound using a bindingSet on the
associated container template.
None
In query mode, return type is based on queried flag.
bind, container
container, containerProxy, containerPublish, containerTemplate
allNames, bindingSet, bindingSetConditions, bindingSetList, force, preview
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// query the template binding sets available for this container
//
containerBind -query -bindingSetList container1;
// attempt to bind published names on the container
// using matching information in the bindingSet specified.
// By default only unbound names are considered.
//
containerBind -bindingSet "MayaBindings" container1;
// Attempt to bind all published names on the container
// using matching information in the bindingSet specified.
// Previously bound names will only be re-bound if the bindingSet
// produces an appropriate match.
//
containerBind -bindingSet "MayaBindings" -allNames container1;
// Forcibly re-bind all published names on the container
// using matching information in the bindingSet specified.
// All previously bound names will be unbound and will only
// be re-bound if the binding set produces an appropriate match.
//
containerBind -bindingSet "MayaBindings" -force -allNames container1;
// preview what the results of a binding operation would be, but do
// not actually perform it.
containerBind -preview -bindingSet "MayaBindings" -force -all container1;