CustomFeatureClass Class

class NXOpen.Features.CustomFeatureClass

Bases: NXOpen.TransientObject

Provides interfaces to configure callbacks for a custom feature.

This class cannot be created.

New in version NX11.0.0.

Methods

Method Description
AddCreateFeatureGeometryHandler Registers the custom feature create feature geometry callback.
AddHighlightHandler Registers the custom feature highlight callback.
AddInformationHandler Registers the custom feature information callback.
AddInternalFeaturePreUpdateHandler Registers the internal feature pre update callback.
AddModifyFeatureGeometryHandler Registers the custom feature modify feature geometry callback.
AddPostUpdateHandler Registers the custom feature post update callback.
AddPreUpdateHandler Registers the custom feature pre update callback.
Dispose Frees the memory associated with this object.

Method Detail

AddCreateFeatureGeometryHandler

CustomFeatureClass.AddCreateFeatureGeometryHandler

Registers the custom feature create feature geometry callback.

Signature AddCreateFeatureGeometryHandler(createFeatureGeometryCallback)

Parameters:createFeatureGeometryCallback (CallableObject) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AddHighlightHandler

CustomFeatureClass.AddHighlightHandler

Registers the custom feature highlight callback.

Signature AddHighlightHandler(highlightCallback)

Parameters:highlightCallback (CallableObject) –

New in version NX12.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AddInformationHandler

CustomFeatureClass.AddInformationHandler

Registers the custom feature information callback.

Signature AddInformationHandler(informationCallback)

Parameters:informationCallback (CallableObject) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AddInternalFeaturePreUpdateHandler

CustomFeatureClass.AddInternalFeaturePreUpdateHandler

Registers the internal feature pre update callback.

Signature AddInternalFeaturePreUpdateHandler(internalFeaturePreUpdateCallback)

Parameters:internalFeaturePreUpdateCallback (CallableObject) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AddModifyFeatureGeometryHandler

CustomFeatureClass.AddModifyFeatureGeometryHandler

Registers the custom feature modify feature geometry callback.

Signature AddModifyFeatureGeometryHandler(modifyFeatureGeometryCallback)

Parameters:modifyFeatureGeometryCallback (CallableObject) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AddPostUpdateHandler

CustomFeatureClass.AddPostUpdateHandler

Registers the custom feature post update callback.

Signature AddPostUpdateHandler(postUpdateCallback)

Parameters:postUpdateCallback (CallableObject) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

AddPreUpdateHandler

CustomFeatureClass.AddPreUpdateHandler

Registers the custom feature pre update callback.

Signature AddPreUpdateHandler(preUpdateCallback)

Parameters:preUpdateCallback (CallableObject) –

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Dispose

CustomFeatureClass.Dispose

Frees the memory associated with this object.

After invocation of this method, the object is no longer valid.

Signature Dispose()

New in version NX11.0.0.

License requirements: None.