For example picture. But, in advance without knowing name of attachment.
Keith, you are wrong
Samu, yes, I've just figured out. Thanks.
object attachments; object array1 = new object; //for example - 10 array1 = swModel.Extension.GetAttachments(out attachments);
object array1 = new object; //for example - 10
array1 = swModel.Extension.GetAttachments(out attachments);
And then knowing the name, I can (for example) to delete the document
Or get the document with SwOLEObject
Do you want the document to be linked or embedded when you get the SolidWorks document?
Document already embedded, I waht to view him without knowing name but knowing its type.
The only thing you can do with the design binder is run a macro attached to it using ISldWorks::RunAttachedMacro. There is no way to get, add, read, modify, or delete any documents using the API.
Video Tutorials for the SolidWorks API
Design Binder docs are actually called "attachments" and there is methods available to add, delete, etc.
Glad to be wrong! Here's a full list for anyone who is interested:
Retrieving data ...