getParent#

SimObject.getParent()#

Return the parent of the currently selected object in the Lumerical session.

This command does not support objects where the parent was changed since object creation, for example, objects that had their parent changed from the addtogroup command.

Parameters:
None
Returns:
ansys.lumerical.core.SimObject

The parent of the currently selected object in the Lumerical software.

See also

ansys.lumerical.core.SimObject.getChildren()

Returns the children of the currently selected object in the Lumerical session.