Hey all,
I've got a macro I've been using a while for replacing drawingreferences. This macro calls up the document manager. When Iupgraded to '09 SP3, the macro suddenly stopped working!
Has anyone else had this issue with SP3? I've checked that I'vestill got the document manager type library in references.
Here's the applicable code:
Dim swApp As Object
Dim swClassFact As SwDocumentMgr.SwDMClassFactory
Sub main()
Set swApp = Application.SldWorks
Set swClassFact = CreateObject("SwDocumentMgr.SwDMClassFactory")
I get error "Compile Error: Object library feature not supported"on the Set swClassFact... line.
Thanks in advance!
DaleSolidworksApi macros
I've got a macro I've been using a while for replacing drawingreferences. This macro calls up the document manager. When Iupgraded to '09 SP3, the macro suddenly stopped working!

Here's the applicable code:
Dim swApp As Object
Dim swClassFact As SwDocumentMgr.SwDMClassFactory
Sub main()
Set swApp = Application.SldWorks
Set swClassFact = CreateObject("SwDocumentMgr.SwDMClassFactory")
I get error "Compile Error: Object library feature not supported"on the Set swClassFact... line.
Thanks in advance!
DaleSolidworksApi macros