create_subsheet#

TwinBuilder.create_subsheet(name, design_name)#

Create a subsheet from a parent design.

If the parent design does not exist, it will add at top level. Nested subsheets are currently not supported.

Parameters:
namestr

Name of the subsheet.

design_namestr

Name of the parent design.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core import TwinBuilder
>>> tb = TwinBuilder(version="2025.1")
>>> tb.create_subsheet('subsheet', 'parentdesign')