Custom Properties Tool no longer working in SP4
Custom Properties Tool no longer working in SP4
(OP)
I have been using the Solidworks Custom Properties tool from cadimensions.com with no problems until I loaded SP4. Now when I try to run the macro the VB program opens and I get an error box with the following message:
Compile error: Object library feature not supported.
The line at issue is:
Set swApp = CreateObject("SldWorks.Application")
with "swApp" highlighted.
I am not familiar with VB but we use this macro alot.
Thanks.
Compile error: Object library feature not supported.
The line at issue is:
Set swApp = CreateObject("SldWorks.Application")
with "swApp" highlighted.
I am not familiar with VB but we use this macro alot.
Thanks.






RE: Custom Properties Tool no longer working in SP4
set swApp = Application.SldWorks
I would recommend doing this for every macro you have that is intended to be run from inside SolidWorks.
RE: Custom Properties Tool no longer working in SP4
RE: Custom Properties Tool no longer working in SP4
RE: Custom Properties Tool no longer working in SP4
I've all my macro which have the variable swApp initialise by Application.SldWorks and some are working end some not.
I think having found the reason : my macro works fine since I've UNchecked the library "Soliworks 2007 Commands Type Library".
You can find this reference in the VB editor in the menu "Tools/References"
But, I don't know why it worked before SP4. (This facts are very boring...). If someone knows the reason, it would be useful to know.
SW2007 SP3
Worksatation HP wx4300 2GB
NVidia Quadro FX 3450