Creating a User Defined Feature (UDF)

Macro Add-in features

Macro add-in User Defined Features are implemented as a Sax Basic add-in using FeatureCAM's API. If you already have an add-in for a UDF and it is loaded into FeatureCAM, then you can create an instance of the feature it defines by using the following steps:

  1. Click the Features step in the Steps panel to open the New Feature wizard.
  2. In the From Feature section, select User and click Next to open the New Feature - User defined feature page.
  3. Select the name of the user-defined feature and click Next.
  4. Note: If the feature you want is not listed, you must load it first.
  5. To set a parameter, click the parameter name, enter the new value and click Set.
  6. Continue through the wizard and click Finish when you are done.

For information on using FeatureCAM's API to create user-defined features, select Help > FeatureCAM API Help.

Part Library features

You can insert Part Library features into the document using the New Feature wizard:

  1. Click the Features step in the Steps panel to open the New Feature wizard.
  2. In the From Feature section, select User and click Next to open the New Feature - User defined feature page.
  3. Select a feature in the list and click Next.

    The Paste Special dialog is displayed.

  4. Use the Paste Special dialog to insert the selected feature into the document or apply it's machining attributes to an existing feature, then click Finish to close the dialog.
  5. The User defined feature page of the New Feature wizard is displayed.
  6. Use the wizard to insert more features from the Part Library, or click Cancel to close the wizard.