insert_design#

Maxwell3d.insert_design(name=None, solution_type=None)#

Add a design of a specified type.

The default design type is taken from the derived application class.

Parameters:
namestr, 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 the Design object.

solution_typestr, optional

Solution type to apply to the design. The default is None, in which case the default type is applied.

Returns:
str

Name of the design.

References

>>> oProject.InsertDesign