UserDefinedFeatureClass Class — NXOpen Python API Reference 12.0.0 documentation

# UserDefinedFeatureClass Class

class `NXOpen.Features.``UserDefinedFeatureClass`

  Bases: `NXOpen.TransientObject`

  JA interface for UserDefinedFeatureClass

  An instance of this class can be obtained from `Features.UserDefinedFeatureClassManager.CreateClass()`

  New in version NX8.0.0.

# Properties

Property | Description
--- | ---
ClassName | Returns the class name

# Methods

Method | Description
--- | ---
AddCopyHandler | Registers the copy callback.
AddCreateHandler | Registers the create callback.
AddEditHandler | Registers the edit callback.
AddIconHandler | Registers the udf icon callback.
AddUpdateHandler | Registers the udf update callback.
Dispose | Frees the memory associated with this object.

# Property Detail

## ClassName

`UserDefinedFeatureClass.``ClassName`

  Returns the class name

  `-------------------------------------`

  Getter Method

  Signature `ClassName`

  Returns: | the class name
  Return type: | str

  New in version NX8.0.0.

  License requirements: None.

# Method Detail

## AddCopyHandler

`UserDefinedFeatureClass.``AddCopyHandler`

  Registers the copy callback.

  Signature `AddCopyHandler(copyCallback)`

  Parameters: | copyCallback (CallableObject) –

  New in version NX8.0.0.

  License requirements: None.

## AddCreateHandler

`UserDefinedFeatureClass.``AddCreateHandler`

  Registers the create callback.

  Signature `AddCreateHandler(createCallback)`

  Parameters: | createCallback (CallableObject) –

  New in version NX8.0.0.

  License requirements: None.

## AddEditHandler

`UserDefinedFeatureClass.``AddEditHandler`

  Registers the edit callback.

  Signature `AddEditHandler(editCallback)`

  Parameters: | editCallback (CallableObject) –

  New in version NX8.0.0.

  License requirements: None.

## AddIconHandler

`UserDefinedFeatureClass.``AddIconHandler`

  Registers the udf icon callback.

  Signature `AddIconHandler(iconCallback)`

  Parameters: | iconCallback (CallableObject) –

  New in version NX8.0.0.

  License requirements: None.

## AddUpdateHandler

`UserDefinedFeatureClass.``AddUpdateHandler`

  Registers the udf update callback.

  Signature `AddUpdateHandler(updateCallback)`

  Parameters: | updateCallback (CallableObject) –

  New in version NX8.0.0.

  License requirements: None.

## Dispose

`UserDefinedFeatureClass.``Dispose`

  Frees the memory associated with this object.

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

  Signature `Dispose()`

  New in version NX8.0.0.

  License requirements: None.