Oct 30, 2023 #1 PSI-CAD Computer Joined Feb 13, 2009 Messages 997 Location FR Hi, I am looking for an NXopen vb code to check the number of flat pattern TIA Regards Didier Psaltopoulos http://www.psi-cad.fr
Hi, I am looking for an NXopen vb code to check the number of flat pattern TIA Regards Didier Psaltopoulos http://www.psi-cad.fr
Oct 30, 2023 #2 jerry1423 Mechanical Joined Aug 19, 2005 Messages 3,428 Location US To check the number of flat pattern holes ? Jerry J. UGV5-NX1899 Upvote 0 Downvote
Oct 31, 2023 Thread starter #3 PSI-CAD Computer Joined Feb 13, 2009 Messages 997 Location FR Hi Jerry, Not the number of flat pattern holes, the number of features flat pattern Regards Didier Psaltopoulos http://www.psi-cad.fr Upvote 0 Downvote
Hi Jerry, Not the number of flat pattern holes, the number of features flat pattern Regards Didier Psaltopoulos http://www.psi-cad.fr
Oct 31, 2023 Thread starter #4 PSI-CAD Computer Joined Feb 13, 2009 Messages 997 Location FR In fact, it's so simple Dim j As Integer j = 0 For Each primitives As Features.Feature In workPart.Features 'lw.WriteLine(primitives.FeatureType.ToString) If primitives.FeatureType.ToString = "FLAT_PATTERN" Then j = j + 1 End If Next Regards Didier Psaltopoulos http://www.psi-cad.fr Upvote 0 Downvote
In fact, it's so simple Dim j As Integer j = 0 For Each primitives As Features.Feature In workPart.Features 'lw.WriteLine(primitives.FeatureType.ToString) If primitives.FeatureType.ToString = "FLAT_PATTERN" Then j = j + 1 End If Next Regards Didier Psaltopoulos http://www.psi-cad.fr