Looking for a Macro to print PDF or Word files stored in SolidWorks part and assembly model Design Binder
I haven't looked for a macro, I just started searching in the API help. The first thing you need is a list of the attachments in the design binder, it seems that this function does that:
2017 SOLIDWORKS API Help - GetAttachments Method (IModelDocExtension)
It uses the modeldoc extension interface, which can be accessed by creating a IModelDocExtension variable or by using swModel.extension.getAttachments.
Hope this will help you get started.
Retrieving data ...