Version: 
Back to list

Scene :: createOccurrence

Synopsis

   Create a new occurrence

GUI Dialog

   

Script function

   scene.createOccurrence(name[, parent]) -> occurrence

Parameters

   name (String) : Name of the new occurrence
   parent (Occurrence[optional] : Create the occurrence as a child of parent, if not set the parent will be root

Return value

   occurrence (Occurrence) : Created occurrence