|
connecting to remote solidworks
hi
i have 2 pc's one with a pdm tool installed on it and another with solidworks installed. i am wondering if it is possibile to connect to the remote pc with solidworks using a remote com object.
i do not have experience in such a topic, does anybody have tried somthing similar? is it possibile in general?
thank you
neri alamanni
yes it should be possible. you would have to setup the correct access and launch permissions for the sw com object on the remote machine first using dcomcnfg.msc, and then use the following code for example to launch it from the other machine:
type t = type.gettypefromprogid("sldworks.application", "remotemachinename");
object o= activator.createinstance(t);
its name may show as "solidworks 97plus application" in the dcom config tool, not solidworks 2008 or 2009, don't ask why.
edited: 11/11/2008 at 04:18 am by luke malpass
quick |
|