Version: 
Back to list

IO :: importScene

Synopsis

   Import a file

GUI Icon

   

GUI Dialog

   

Script function

   io.importScene(filename[, root]) -> dest

Parameters

   filename (FilePath) : Path of the file to import
   root (Occurrence[optional] : Identifier of the destination occurrence

Return value

   dest (Occurrence) : The root occurrence if defined, oterwise a new occurrence created by the importer