Version: 
Back to list

Scene :: createInstance

Synopsis

   Create an instance of a component

GUI Dialog

   

Script function

   scene.createInstance(component[, name]) -> instance

Parameters

   component (Assembly) : The component to instanciate
   name (String[optional] : Name of the instance

Return value

   instance (Instance) : The created instance