Return the parent of the currently selected object in the Lumerical software. This command does not support objects where the parent was changed since object creation, for example, objects that had its parent changed via the addtogroup command.
Syntax
parentObj = SimObject. getParent()
Parameters
None
Returns
Field |
Type |
Description |
---|---|---|
parentObj |
The parent simulation object for the currently selected simulation object. |
See Also
Python API overview – Ansys Optics, Lumerical Python API Reference, SimObject.getChildren, Working with Simulation Objects – Python API