ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MBMarcello Bottura10/07/2024

I develop a macro in vba that checks whether an open file has legacy cosmetic threads or not but always returns false!
Manually opening files that have the new cosmetic threads (not legacy) also returns false
I have also tried removing the cosmetic threads system option.
What is wrong with this?
 

CODE:
Option Explicit

Sub CheckLegacyCosmeticThreads()

   ' Check file has compatiblity for cosmetic threads
   
'