I'm doing a little proramming to find all holes in geometry.
If face1.SolidFaceType = Face.FaceType.Cylindrical ThenDim thisFace As Face = NXObjectManager.Get(face1.tag)ReDim Preserve localFaces(counter)counter += 1'Face1.Highlight()End if
this will find holes cylinrical face blends...
how can I only filter the cyl. hole faces?
We are still in the process of setting up the forum for automation programming.
When it is ready, we will move this question there.
Until then, you could contact GTAC, or look in the GTAC Symptom/Solution Information query tool (formerly known as UGAnswer).
Frank Swinkels provided a C source to create centerlines for blends, but I can't find it here.
So may be by checking the face properties, you can distinguish between open and closed cylindrical faces.
Comparing the face normals at the four minimum and maximum U and V knots for being the same should yelled a closed cylinder.
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0Employees of the customers, together we are strong How to Get the Most from Your Signature in the CommunityNX Customization - Best Practice Guide