Features of Components
In SOLIDWORKS 2006 and later, if you want to access a feature of an
assembly component, then you must first get the model document of the
assembly component. One way to do this is to use:
Now traverse the FeatureManager design tree to access the feature using:
Use IFeature::GetTypeName
to check the type of feature.