UDOExtension Class

The UDO itself should be implemented as an IronPython class called UDOExtension which must derive from the IUDOPluginExtension abstract base class (from the Ansys.Ansoft.ModulePluginDotNet.UDO.API.Interfaces namespace).

Note that power users could derive a class hierarchy tuned toward a specific type of UDOs and that they can derive from their own base classes. The only requirement is that directly or indirectly, the UDO class must derive from IUDOPluginExtension.

The UDOExtension abstract class declares the optional Validate abstract method that may be implemented in the UDOExtension class or one of its base classes.

Example:

def BaseClassUDO ((IUDOPluginExtension):
#base class implementation

def UDOExtension ((BaseClassUDO):
#UDO class implementation …