create_udm#

Modeler3D.create_udm(udm_full_name, parameters, library='syslib', name=None)[source]#

Create a user-defined model.

Parameters:
udm_full_namestr

Full name for the user-defined model, including the folder name.

parameters

List of user-defined object pairs for the model.

librarystr, optional

Name of the library for the user-defined model. The default is "syslib".

namestr, optional

Name of the user-defined model. The default is None`.

Returns:
bool, ansys.aedt.core.modeler.components_3d.UserDefinedComponent

User-defined component object or False if it fails.

References

>>> oEditor.CreateUserDefinedModel