Share

Component Creator

Component Creator options

The Component Creator allows you to create a USD asset from Maya scene objects. The resulting USD hierarchy is structured according to a customizable JSON template, making it ideal for standardizing your structure between assets.

You can access the Component Creator by right-clicking one or more Maya objects in the Viewport or Outliner and selecting USD > Create Component or USD > Create Component with Variants.

Options

Output

Template

Specifies the JSON template used to structure the resulting USD asset (ASWF standard by default). You can click Open Template Location to quickly navigate to the template file's location on disk.

ASWF standard example:

    "at_origin": false,
    "center_component": false,
    "class_prefix_path": "",
    "component_prim_path_pattern": "/root",
    "file_extension": "usda",
    "filename_pattern": "{component_folder}/{component_name}/{component_filename}.{file_extension}",
    "flatten_source": false,
    "materials_scope_name": "mtl",
    "meshes_scope_name": "geo",
    "options_description": "ASWF Standard options for the component creator.\nIt represents the component structure that we want to\npromote as the correct way to encapsulate a component.",
    "options_name": "ASWF Standard (default)",
    "payload_filename_pattern": "{component_folder}/{component_name}/{scope_name}/{variant_selections}.usdc",
    "scope_layer_filename_pattern": "{component_folder}/{component_name}/{scope_name}/{scope_name}.{file_extension}",
    "sub_layers_in_payload": true,
    "sub_layers_payload_filename_pattern": "{component_folder}/{component_name}/payload.{file_extension}",
    "variant_name_pattern": "{object_name}",
    "variant_numbered_pattern": "variant_<n>",
    "variant_set_name_pattern": "{object_name}",
    "variant_set_numbered_pattern": "variant_set_<n>"
Option Type Description
options_name Text Name of the options template
options_description Text Description of each option used in the Component Creator.
flatten_source Boolean Control if the source USD file is to be flattened into a single layer. Default: false
file_extension Text The USD file extension to use: 'usd', 'usda', or 'usdc'. Default: usda
center_component Boolean Optionally center the component bounding-box at the origin. Default: false
at_origin Boolean Optionally clears the transforms of root transformable prims. Default: false
class_prefix_path Sdf.Path The path prefix to be used to generate the class names of the components.
sub_layers_in_payload Boolean Control if sub-layers are put in a payload or directly in the root layer. Would put the same sub-layers in multiple places. Default: true
meshes_scope_name Text Name of the mesh scope. Default: "geo"
materials_scope_name Text Name of the material scope. Default: "mtl"
component_prim_path_pattern Text The component path pattern to be used to generate the component path.
filename_pattern Text The filename pattern used to generate the file name of the component.
sub_layers_payload_filename_pattern Text The filename pattern used to generate the sub-layers payload.
scope_layer_filename_pattern Text The filename pattern used to generate the filename of the scope sub-layers.
payload_filename_pattern Text The filename pattern used to generate the filename of the payloads.
variant_set_name_pattern Text The name pattern used to generate variant-set names.
variant_set_numbered_pattern Text The name pattern used to generate numbered variant-set names.
variant_name_pattern Text The name pattern used to generate variant names.
variant_numbered_pattern Text The name pattern used to generate numbered variant names.

Prim Hierarchy Preview

Displays a generalized version of the prim hierarchy according to the template.

File Structure Preview

Displays a generalized version of the USD file structure on disk according to the template.

For more information on the remaining options, see USD Export Options

Was this information helpful?