Get All Feature Groups in Part NX 7.5 Visual Basic
Get All Feature Groups in Part NX 7.5 Visual Basic
(OP)
So I'm attempting to grab the Collection of Feature Groups or Sets Of Features in the current Part or even current Session. I can't seem to be able to do this in the same way that you get the collection of features, datums, points, etc in a given part.
I haven't managed to find a wrapper method for it in the UFModl Class or anywhere else for that matter.
Any idea if it's possible to get a collection of feature groups?
I haven't managed to find a wrapper method for it in the UFModl Class or anywhere else for that matter.
Any idea if it's possible to get a collection of feature groups?





RE: Get All Feature Groups in Part NX 7.5 Visual Basic
For those who do want to use my less efficient method :
Dim featureList As Features.FeatureCollection = workPart.Features
For Each tempFeature As Features.Feature In featureList
If (tempFeature.FeatureType = "FSET") Then
'Store feature group in an array or variable
'i.e. : var = CType(tempFeature, Features.FeatureGroup)
End If
Next