IUDPExtension Methods

All methods are same as the methods in the C UDP implementation. The changes to the methods signatures are just to conform to the Python style.

Mandatory Methods

These methods must be implemented in the UDP Python script as methods of UDPExtension class.

GetLengthParameterUnits()

GetPrimitiveTypeInfo()

GetPrimitiveParametersDefinition2()

AreParameterValuesValid2(errorMsg, udpParams)

CreatePrimitive2(funcLib, udpParams)

Optional Methods

These methods, which have default implementations, can be implemented as methods of UDPExtension class as needed. Default methods will return NULL or FALSE depending on the return type.

GetPrimitiveParameters()

GetRegisteredFaceNames()

GetRegisteredEdgeNames()

GetRegisteredVertexNames()

ProjectParametersOnToValidPlane2(currentUDPParams, projectedUDPParams)

MapParametersDefinitionVersions2(oldVersion, oldUDPParams)

GetOldPrimitiveParametersDefinition2(version )