Version: 
Back to list

Scene :: duplicateVariant

Synopsis

   Create a new variant which is a copy of an existing variant

GUI Dialog

   

Script function

   scene.duplicateVariant(variant, name) -> newVariant

Parameters

   variant (Variant) : The variant to duplicated
   name (String) : Name of the new variant

Return value

   newVariant (Variant) : The created variant