几何尺寸与公差论坛

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

【转帖】edrawings api

[复制链接]
发表于 2009-4-12 20:49:20 | 显示全部楼层 |阅读模式
edrawings api....
hey guys...
i'm trying to create a vb.net program to batch print drawings using edrawings... and essentially i'm trying to make it follow these steps:
1 - open .slddrw files that are saved in our solidworks enterprise pdm 2009 vault
2 - stamp a custom stamp onto the drawing
3 - print the drawing
4 - close the drawing without saving
5 - move on to the next drawing and repeat the process
i can get this to work with an edrawings activex control on my form, but i'm having several problems with it:
1 - is that it's very very very slow to load a drawing and do anything with it
2 - it crashes when you open a drawing that has a lot of detail and only works with very very simple, low detail, drawings
3 - you have to wait between each step, so you wait and wait for it load, then wait and wait for it to stamp, and then wait and wait for it to printer before moving on or it will crash the program
so my question... is it possible to do what i'm trying to do without using the activex control on my form and just open the file in edrawings and work with it like that?
ok... apparently it is possibly to print without the activex control... but i have no idea how they're doing it:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 05:54 , Processed in 0.034302 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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