UDO Extension Implementation (2D and Circuit)

The purpose, argument list and expected return types for each of the IUDOPluginExtension abstract methods, which the UDO author is expected to implement are shown in the following diagram.

Import Statements (2D and Circuit)

The base class to be used and the types it uses in turn are contained in .NET assemblies. The use of these requires that the assemblies be imported into the UDO script: the following import statements should be added to the top of the python script:

from Ansys.Ansys.ModulePluginDotNet.Common.API import *

from Ansys.Ansys.ModulePluginDotNet.Common.API.Interfaces import *

from Ansys.Ansys.ModulePluginDotNet.UDO.API.Interfaces import *

from Ansys.Ansys.ModulePluginDotNet.UDO.API.Data import *