Does anyone know a way to retrieve cosmetic thread settings; such as the Standard, Type and Size via the API? The CosmeticThreadFeatureData object appears to only give Callout, Blind Depth and Diameter fields.
There is no any direct methods available in ICosmeticThreadFeatureData Interface for retriving the Standard, FastenerType and Fastener size. But with using FastenerSize Property (IWizardHoleFeatureData2) , FastenerType2 Property (IWizardHoleFeatureData2) and Standard2 Property (IWizardHoleFeatureData2) you can retrive the fastener size, fastener type and design standard of Hole Wizard feature.
Thanks for your reply!
I am trying extract the standard, and other related information, regardless of how the user inputs the thread into the model (i.e. via the 'Hole Wizard' or the 'Cosmetic Thread' annotation).
Additional cosmetic thread information (standard, type and size) is clearly saved within the solidworks file, since I can go to 'edit feature' on the cosmetic thread in the feature tree to retrieve my settings. Via the API, I can get the size and the type from parsing the callout but unfortunately cannot find a way to extract the standard. Hopefully this will be available in a future release!
Retrieving data ...