Assets

Code author: Jeremy Ernst

class RigAsset(network_node=None)[source]

The rig asset class defines the top-level representation of a rig and holds data like which components make up that rig, what the asset name is, etc.

get_movers()[source]

Get all joint movers of this asset (returns movers from every component associated with this asset.)

Returns:Returns a list of pynodes that are the joint mover controls from every component in this asset.
load_dag_pose(name)[source]

Loads a pose on the component movers or skeleton with the given name (if it exists).

Parameters:name – The name of the pose to load.
remove_dag_pose(name)[source]

Removes a bind pose with the given name (if it exists).

Parameters:name – Name of the pose to remove.
save_dag_pose(name)[source]

Saves a new pose for the component movers and skeleton (basically storing dag poses). Stores the pose data on the network node for this asset.

param name: The name of the pose.

name

This property holds the asset name. This could be the name of the character, for example.

network_node

This property holds the network node that contains the asset’s metadata.

Properties

name

This property holds the asset name. This could be the name of the character, for example.

network_node

This property holds the network node that contains this asset’s metadata.