Managing OLE Objects in models using SOLIDWORKS API
Object Linking and Embedding (OLE) is a Microsoft technology allowing to inserted 3rd party application objects into the documents. In SOLIDWORKS OLE objects are used to represent Design Tables, Attachment and any file dropped directly into the Document.
Such objects usually can be manipulated directly from the host environment. For example embeded Excel file can be modified without exiting the SOLIDWORKS window.
OLE Objects are usually saved with SOLIDWORKS file and can be removed, resized or used directly in the graphics area.
SOLIDWORKS API enables the access to OLE objects via ISwOLEObject interface. Objects can be enumerated, created and deleted by using the API methods of IModelDocExtension interface.
This section contains macros and examples allowing to manipulate OLE objects in documents using the SOLIDWORKS API.