|
5 K% j9 _8 B% ?1 {' Q3 S NXOpen.Selection.MaskTriple[] t = new Selection.MaskTriple[1];4 W2 t9 F& o) Q: w" C( R
t[0].Type = UFConstants.UF_solid_type;
0 @% P6 p; g% F5 Z$ d3 B t[0].Subtype = UFConstants.UF_solid_face_subtype;" d. Q% c9 t+ i* w( Q
t[0].SolidBodySubtype = UFConstants.UF_UI_SEL_FEATURE_ANY_FACE;. a# m; I4 l! M
selection0.GetProperties().SetSelectionFilter("aaa", Selection.SelectionAction.AllAndDisableSpecific, t);
2 h0 J# _ r- C# I# l l也就是上面的”aaa”
- T' f; P- `7 T; ^, }+ z9 k: w, P
) s4 `5 f" D" [( B; A* B8 J8 r6 Tpublic void SetSelectionFilter( |
|