insert_design#
- Emit.insert_design(name=None, solution_type=None)[source]#
Add a design of a specified type.
The default design type is taken from the derived application class.
- Parameters:
- name
str
,optional
Name of the design. The default is
None
, in which case the default design name is<Design-Type>Design<_index>
. If the given or default design name is in use, then an underscore and index is added to ensure that the design name is unique. The inserted object is assigned to theDesign
object.- solution_type
str
,optional
Solution type to apply to the design. The default is
None
, in which case the default type is applied.
- name
- Returns:
str
Name of the design.
References
>>> oProject.InsertDesign