几何尺寸与公差论坛

 找回密码
 注册
查看: 652|回复: 0

【转帖】connecting to remote solidworks

[复制链接]
发表于 2009-4-13 09:50:39 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 09:51 , Processed in 0.035975 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表