• 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
          • PointInstancer
          • Prim
          • Shading
          • Stage
          • VariantSet
            • add_variant
            • add_variant_set
            • clear_variant_selection
            • define_usd_variant_set
            • get_variant_sets
            • get_variants
            • set_variant_selection
        • 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

    add_variant

    This node adds a new variant to the variant set on the given stage.

    Inputs

    stage

    The USD stage on which to add the variant.

    prim_path

    The path to the prim to add variants to.

    variant_set_name

    The variant set name to add variants to.

    variant_name

    The variant's name.

    set_variant_selection

    If false, still creates the variant set but does not set the variant.

    Outputs

    out_stage

    The modified stage.

    Parent page: VariantSet

    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