• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 日本語
Bifrost
    • Bifrost Release Notes
    • Working in the Bifrost Graph Editor
      • Working in the Bifrost Graph Editor
      • Build and modify graphs
      • Install compounds and graphs
      • Simulate dynamic effects
      • Create instances of geometric objects
      • Apply materials
      • Bake textures to file
      • Machine Learning
      • Run the Bifrost command-line tool
      • Bifrost Node Reference
        • Core
        • Diagnostic
        • File
        • Geometry
        • MachineLearning
        • Modeling
        • Rendering
        • Rigging
        • Simulation
        • USD
          • Attribute
          • Collection
          • Layer
            • add_sublayer
            • create_usd_layer
            • duplicate_layer
            • export_layer_to_file
            • export_layer_to_string
            • get_layer
            • get_layer_display_name
            • get_layer_file_path
            • get_layer_identifier
            • get_root_layer
            • get_sublayer_paths
            • open_layer
            • open_usd_layer
            • replace_layer
            • set_layer_permission
            • create_layer
          • PointInstancer
          • Prim
          • Shading
          • Stage
          • VariantSet
        • Wedging
      • Troubleshooting Bifrost graphs
    • Working with Bifrost Graphs in Maya
    • Bifrost Rigging
    • Flow Wedging
    • Bifrost Scripting Documentation
    • Bifrost Developer Help
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn

    replace_layer

    This node replaces the sublayer from the stage's root layer at the specified index.

    The last element in the list of sublayers is the strongest of the sublayers in the Pixar USD root layer.

    Inputs

    stage

    The USD stage in which to replace the sublayer.

    sublayer_index

    The sublayer index (of the root layer) to replace.

    new_layer

    The new layer that will replace the existing one.

    Outputs

    out_stage

    The modified USD stage.

    success

    Boolean indicating whether the operation was successful.

    Parent page: Layer

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved