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


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


回复
 
主题工具 搜索本主题 显示模式
旧 2009-05-06, 10:25 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】print plot dialog

print plot dialog
print plot dialog
hi,
we've an opendesign based viewer embedded in our application.
for print plot purposal we're looking for some features acad has:
- the possibility to define and use a plot scale.
- support for plotstyletables to map colors an penweights.
is there an alliance member who allready developed a plot dialog (mfc) and is willing to provide it to us??
btw we might be prepared to pay for it!
thanks.
hi,
sorry for not replying to your post earlier.
we're using the dwgdirect library to make our cad system caddie work with dwg files as a native format. we've done plotting functions a while ago by ourselves because the dwgdirect plotting functionality did not cover our issues.
you can see the attached dialogue snap shots (they are from the caddie system). we do support plot styles - i.e. matching a color to an rgb color and a llineweight, as well as such print properties as plot scale (1:2, 1:50, scaled to fit), plot centered, plot offset, etc. the print rectangle can be adjusted to print the current window, drawing extents, sheet, etc.
moreover, we have added additional property to the oddbviewport entity and now we're able to print 2 viewports on the same sheet with different plot styles (this was our users issue).
in addition, we're doing some lower level communications with the printer than the standard provided in mfc, so that we can combine on one and the the same dialogue both plot information from the dwg file and plot information from the printer. you can see on the attached plotdlg.jpg that you can adjust for example both the paper size (which are get/set from the printer drivers) and the plot scale (which is read from the dwg file).
on the other dialogue, plotstylesdlg.jpg, you can see our plotstyles dialogue, which is used to manage the plot styles.
of course not everything is ideal and we have some limitations - one of them for example is that we do not print 3d rotated raster images yet - it was not of the highest priorities for us and that's why it is still not fixed. (btw i don't know whether it can be of a big priority for you without any further discussion).
unfortunately this plot functionality is not a separated module in our software as it should be (we were very pressured by our time scales) and it will cost us time to pack it in a separate library for being used outside caddie.
if you are interested in it, then we can discuss which is the best way that we can share it with you or any other dwgdirect member.
attached images (37.1 kb, 69 views)
(55.1 kb, 54 views)

best regards
chudomir
plots and plotstyles
chudomir,
i'd be interested in the code for these two dialogs as well...
tyler
hi,
unfortunately i鈥檓 not permitted to give you the source code directly 鈥?the base reason is that it is too large and too bound to our internal modules and publishing it to a understandable level would bring to publishing a lot of the source code of our system.
however, we would be glad to share the functionality with you but would need some time to explore it and decide how to pack it. we鈥檙e just in an ending of a milestone and simply don鈥檛 have enough time - the next week (wednesday) we鈥檒l be able to take time to work on it.
meanwhile any questions are welcome. it would be usefull for us to know your needs about plotting.
best regards
chudomir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】pdf export with plot styles - how yang686526 DirectDWG 0 2009-05-06 09:50 PM
【转帖】objectarx&dummies习题(二)—— using a mfc dialog yang686526 ObjectARX(C++) 0 2009-04-16 10:34 AM
【转帖】asdkplotapi <autodesk的开源程序> yang686526 ObjectARX(C++) 0 2009-04-16 09:10 AM


所有的时间均为北京时间。 现在的时间是 10:19 PM.


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