AnsweredAssumed Answered

Select a feature in FeatureManager by Name

Question asked by Dave Paul on Mar 2, 2017
Latest reply on Mar 15, 2017 by Dave Paul

I'm missing something.

I want to add a feature to a multi-feature selection in the feature tree by feature name.  The user selects a feature and I want to add one to that set.  The user selected feature work well.  I have all the right data, but the feature will not highlight.


                swFeatureName = myFeature.GetNameForSelection(out swFeatureType);
                Debug.Print("   Feature name: " + swFeatureName);
                Debug.Print("   Feature type: " + swFeatureType);
                swModel.Extension.SelectByID2(swFeatureName, swFeatureType, 0, 0, 0, true, 0, null, 0);


Do I need to just traverse the feature tree and search?