MANox
Mechanical
- Apr 2, 2007
- 121
Hello,
I try get information about all holes and their paramters in model with journal.
And I have litte problem with holes creates with pattern feature.
I dont know how get information about parent feature from pattern:
Maybe somebody can help.
Best regards
MANok
NX2207
TC14
I try get information about all holes and their paramters in model with journal.
And I have litte problem with holes creates with pattern feature.
I dont know how get information about parent feature from pattern:
Code:
Public Function ReadList(featureList As List(Of Features.Feature)) As List(Of HoleInfo)
Dim listOfHoles As New List(Of HoleInfo)
For Each feature1 As Features.Feature In featureList
If Mid(feature1.GetFeatureName, 1, 7) = "Pattern" Then
Dim patternFeatureBuilder1 As NXOpen.Features.PatternFeatureBuilder = Utilities.NXObjectManager.Get(feature1.Tag)
Dim holePackage1() As NXOpen.Features.HolePackage
holePackage1 = patternFeatureBuilder1. ???????????????????????????????????????????????????????
End If
Next
Return listOfHoles
End Function
Maybe somebody can help.
Best regards
MANok
NX2207
TC14