Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I am looking for an NXopen vb to check the number of flat pattern

Status
Not open for further replies.

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
 
To check the number of flat pattern holes ?

Jerry J.
UGV5-NX1899
 
Hi Jerry,

Not the number of flat pattern holes, the number of features flat pattern

Regards
Didier Psaltopoulos
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top