Version: 
Back to list

Scene :: createAndSelectOccurrences

Synopsis

   Create and select one new occurrence under each given parent

GUI Dialog

   

Script function

   scene.createAndSelectOccurrences(name[, parents]) -> occurrences

Parameters

   name (String) : Name of the new occurrence
   parents (OccurrenceList[optional] : Create the occurrences as a child of each parent. If empty, one occurrence will be created with root as parent

Return value

   occurrences (OccurrenceList) : Created occurrences