查看单个帖子
旧 2009-04-13, 10:52 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】feature not supported

feature not supported
i'm having a little problem running a vba script on another machine. i've created many many vba scripts for autocad, however in sw i'm having a hard time getting thing running right. so here is the story...
i've crated a script to create pdf file of a drawing and saves is in the dir where the drawing resides, all with just one click of a button. easy enough... i wrote the program on my home pc, tested it there and all is good. took the program, saved it on our network here at work, tested it and all is still good, i even added a custom icon in a toolbar. so far so good. now when i set-up the script on another pc, (same program, same icon, same everything) i get a "compile error; object library feature not supported" and this is highlighted "set swapp = application.sldworks"
tried this on 3 pcs and get the same error. what am i missing? works on my work pc and my home pc.
thanks for the help.
paul.
swx 2008 sp3.0 (working well!!!)
windows xp sp2
nvidia quadro fx1500
intel dual core, 2gigs of ram
edit the macro, remove the references to solidworks, re-add them, save, and go
i'll give that a try...
swx 2008 sp3.0 (working well!!!)
windows xp sp2
nvidia quadro fx1500
intel dual core, 2gigs of ram
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)