Go to: Synopsis. Return value. Keywords. Related. Python examples.

Synopsis

containerProxy()

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

containerProxy is undoable, queryable, and editable.

Creates a new container with the same published interface, dynamic attributes and attribute values as the specified container but with fewer container members. This proxy container can be used as a reference proxy so that values can be set on container attributes without loading in the full container. The proxy container will contain one or more locator nodes. The first locator has dynamic attributes that serve as stand-ins for the original published attributes. The remaining locators serve as stand-ins for any dag nodes that have been published as parent or as child and will be placed at the world space location of the published parent/child nodes. The expected usage of container proxies is to serve as a reference proxy for a referenced container. For automated creation, export and setup of the proxy see the doExportContainerProxy.mel script which is invoked by the "Export Container Proxy" menu item.

Return value

none

In query mode, return type is based on queried flag.

Keywords

proxy, container

Related

container, containerTemplate

Python examples

import maya.cmds as cmds

# create a proxy for container1
#
cmds.containerProxy('container1')