Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
HideoYamada
in reply to: Anonymous

Hi,

 


@Anonymous wrote:

that does count everything. is there a way to automatically extract the first 5 digits of the top level assembly for the search string? also i only need to count .ipt files that start with the first 5 digits of the top level assembly. this counts subassemblies as parts too. thanks for helping me with this.


Delete or comment out these two lines :

'        ElseIf TypeOf occ.Definition Is AssemblyComponentDefinition Then
'            CountNewParts = CountNewParts + CountNewParts(occ.Definition.Occurrences)

=====

Freeradical

 Hideo Yamada

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp