ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SKSeiya Kumada07/04/2014

I'm now trying to recognize features by using FeatureWorks.

There is a sample program written in VBA at API Help browser.

According to the sample, the procedures are as follows:

1. Before recognizing features, we call "SelectByID2" to select a feature we want to recognize.

2. Call "RecognizeFeatureAutomatic."

3. Finally, "CreateFeatures" is called.

I selected "import1" and ran "RecognizeFeatureAutomatic" and "CreateFeatures."

As a result, I got several new features which include "import2."

I can see them in the Feature Manager Design Tree.

Subsequently, I selected "import2" and called the same two functions as described above.

In turn, I saw several new features which include "import3."

However,  all the features I obtained in the first execution were lost from the Feature Manager Design Tree.

I want to leave them.

Does anyone know how to do so ?

Sincerely yours,

Seiya Kumada