几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 03:17 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】view solidworks drawings using edrawings

view solidworks drawings using edrawings
i am trying to create a btn_click event handler that after searching pdmworks vault and finding a drawing, i want to click a button that will open that drawing in edrawings. i can not create the correct code for that to work??? why am i doing this you ask, we have non cad users and i do not want them to have to take a license from the pool just to print drawings. can anyone help me?
rodney michels
cad administrator
cswp;pdmworks wg cert
solidworks tech support cert
cert solidworks instructor
i could help you, but considering i have just given information regarding having to do this exact procedure (pdm & edrawings) to a company to avoid licensing, along with a quote for the work, i am not going to give the coding for this.
i think that you either work for them, or have been asked by them to do this after gaining the knowledge of the required proceeding from me, which i do not appreciate. if you happen to be completely unrelated to this company then good luck but count my advise out for obvious reasons.
don't you have to have swx explorer installed on the client in order to access the vault? i talked with solidworks about this as one of our customers was trying to do the same and the answer was that you needed to have the pdmworks client installed and licensed anyways. you may want to read your license agreement as well, if you can accomplish this it still may violate the agreement.
get the edrawings api and look at the examples there. edrawings is only implimented as a form control so you need to create a form and work from there. i think this is really strange but it is what it is.
it can be implemented with or without a form, just not directly hooked into a running instance.... easily.
wow...aren't you the guy that was planning on writing a book on api. well do what you do best with that cause your assumtion skills suck. why would you even say something like that. just don't reply would have been a better responce. thanks anyway, can anyone else that does not have issuse with helping out a fellow cad admin help me out.
rodney michels
cad administrator
cswp;pdmworks wg cert
solidworks tech support cert
cert solidworks instructor
sw explorer will be install on there machines. we have a few stand alone licenses for it. our purch groug get does not want to search one drawing at a time. we also have the web viewer. again, printing one drawing at a time, they do not want to do that.
sorry luke, i never meant to come across like that. i do not work for any company you have giving code to, unless it is something i do not know about.
thanks for the responses
rodney michels
cad administrator
cswp;pdmworks wg cert
solidworks tech support cert
cert solidworks instructor
btw...why can i not change my profile name? john joe is not my name.
rodney michels
cad administrator
cswp;pdmworks wg cert
solidworks tech support cert
cert solidworks instructor
rodney,
i have written an application similar to this as we didn't want to license the viewer for sw. the api licensing was changed in 2007 and only the pdmworks api needs to be installed on the client machine for the application to work, a solidworks contributor license is only required for certain actions on the vault ie check-in.
i can't give the complete code away for this but may be able to help in some way.
mark.
mark, thanks for the advise. can we start by asking this question. i try and add the edrawings control 2008 to a form and get a message that says: failed to import the activex. please ensure it is properly registered.
i unregistered the dll and reregistered it and still recieve the same message. i went as far as doing a modify on edrawings software and that still has not fixed it. any suggestions?
thanks man1
rodney michels
cad administrator
cswp;pdmworks wg cert
solidworks tech support cert
cert solidworks instructor
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】recompile addin when solidworks is running yang686526 SolidWorks二次开发 0 2009-04-13 01:48 PM
【转帖】electronic redlining in solidworks yang686526 SolidWorks二次开发 0 2009-04-13 10:40 AM
【转帖】solidworks macros capabilities yang686526 SolidWorks二次开发 0 2009-04-12 10:29 PM
【转帖】solidworks macros capabilities yang686526 SolidWorks二次开发 0 2009-04-12 07:40 PM


所有的时间均为北京时间。 现在的时间是 08:55 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多