create_udp

Primitives3D.create_udp(udp_dll_name, udp_parameters_list, upd_library='syslib', name=None, udptye='Solid')

Create a user-defined primitive (UDP).

Parameters
udp_dll_namestr

Name of the UPD DLL.

udp_parameters_list

List of the UDP parameters.

upd_librarystr, optional

Name of the UDP library. The default is "syslib".

namestr, optional

Name of the component. The default is None.

udptyestr, optional

Type of the UDP. The default is "Solid".

Returns
pyaedt.modeler.Object3d.Object3d

UDP object created.

References

>>> oEditor.CreateUserDefinedPart