How to create a new cell in a layout nested within another cell?

I am trying to use Python scripting to create some cells that will themselves be nested within other cells.

So far I can only find commands to create a new cell as a top-level cell, not a nested one. e.g.
layout.create_cell("NewCell")
will create a new, top-level cell named "NewCell"

Now let's say I've created another cell:
layout.create_cell("OtherCell")

How would I get OtherCell to be nested under NewCell in the cell hierarchy?

Comments

Sign In or Register to comment.