Mass deployment of an API or macro
Mass deployment of an API or macro
(OP)
I have created a small macro and would like to know if there is a way to install on 50 or so machines via the network rather than installing on each machine. I would ideally like to install a compiled dll of the macro on the server and when each solidworks client machine starts up the program is automatically started. Is this possible. I'ld appeciate any help.
Cheers
Steve
Cheers
Steve






RE: Mass deployment of an API or macro
Put your macros in a network folder, then set everyone's SW options for macro directort to look at that folder (there may be a way to set the options over the network, but I wouldn't know).
http://www.EsoxRepublic.com
RE: Mass deployment of an API or macro
Tell you what maybe we can get you two in direct contact. I think you would be able to help eachother out a lot.
BTW: The stuff he loaded yesterday runs from a custom toolbar add-in menu and goes out and searches our FlexGen system for part information.
I was - and he did. So at least I didn't get coal.....
RE: Mass deployment of an API or macro
We share our macro's over the network except the macro's that have a keyboard shortcut associated to it (like our properties editing macro). For these I use a .BAT file and email it to the users. I updated 2 macro's yesterday using this .BAT file. Here's what the .BAT looked like:
***********the .BAT file*****************************
@echo off
c:
cd\Program Files\SolidWorks2004\Macros
copy \\NetworkLocationOfMacro\MacroName#1.swp
copy \\NetworkLocationOfMacro\MacroName#2.swp
*****************************************************
Hope this helps,
DT
RE: Mass deployment of an API or macro
Thanks. I forgot what my question was, though. What was my question?
http://www.EsoxRepublic.com
RE: Mass deployment of an API or macro
RE: Mass deployment of an API or macro
Ref. This thread. Our programmer guru sends us an email when there is an update to their custom tools. It contains a link to click on and the whole thing is automatic. Actualy, come to think of it, I think he automatically senses the version now and forces the update. I'll let him explain to TheTick and he can probably tell you if it is what you need.
I don't get into the SolidWorks programming myself - in fact I don't really do that much SW these days at work. I'm mostly busy being Hardware Lead Engineer on 2 developemnt programs.
I was - and he did. So at least I didn't get coal.....
OK, OK, It's a reference to my holiday sig. "Be naughty - Save Santa a trip..."
RE: Mass deployment of an API or macro
The update process that your programmer implements is exactly what I'm looking for - a simple way for the 50 or so workstations to update tools. I look forward to TheTicks post.
RE: Mass deployment of an API or macro
I was - and he did. So at least I didn't get coal.....
OK, OK, It's a reference to my holiday sig. "Be naughty - Save Santa a trip..."