Writing a FeatureWorks API application typically involves:
-
Instantiating a SOLIDWORKS connection.
-
Getting the FeatureWorks object.
-
Recognizing imported features either automatically or interactively (IFeatureWorksApp::RecognizeFeatureAutomatic, IFeatureWorksApp::RecognizeFeatureInteractive).
You can call these methods multiple times to recognize various features.
-
Creating all of the recognized features (IFeatureWorksApp::CreateFeatures).
The recognized features are displayed in the FeatureManager design tree.
The FeatureWorks DLLs must be loaded before calling the FeatureWorks API.
FeatureWorks operations such as combining, re-recognizing features, and recognizing patterns are not supported. The FeatureWorks Local Feature Recognition and Recognize Similar options are also not supported.