Version: 
Back to list

Scene :: getOccurrenceParent

Synopsis

   Returns the parent of the given occurrence

GUI Dialog

   

Script function

   scene.getOccurrenceParent(occurrence[, returnInstance]) -> parent

Parameters

   occurrence (Occurrence) : The child occurrence
   returnInstance (Boolean[optional] : If the parent occurrence is an instance node: if returnInstances is true it will be returned, else the parent of the instance node will be returned (skip instance occurrence)

Return value

   parent (Occurrence) : The parent occurrence