几何尺寸与公差论坛------致力于产品几何量公差标准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-05, 07:48 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】dwf impor

dwf import
dwf import
i am using the dwf import and everything seems to work as it should. i've noticed when i render the imported file there is a rectanlgle filled with the background color of the original blank dwg file. i assume this is some default entity or maybe the paper space? can someone tell me exactly what it is, and if there is a way i can change it's size or remove it all together. all i want to do is be able to render the dwf without having a big rectangle in the middle of it.
thanks,
- mike
this happens when you import files generated by acad or by dd dwfexport?
what layout was published - modelspace or paperspace?
quote:
originally posted by wvk
this happens when you import files generated by acad or by dd dwfexport?
what layout was published - modelspace or paperspace?
i had the same results when i test it at first and i think it was with both modelspace and paperspace dwf files from autocad.
i cannot reproduce this with current (development) version,
what version do you use?
could you post a sample dwf file with the problem?
now i can't get it to do it. i was just going through things in a hurry just looking at what capabilities there were and it was one of the things that i noticed. but i can't remeber which sample it was in and maybe it was in the old release now that i think about it. i double checked it with the latest available on the site and the odamfcappdll.exe sample and it appears to be working fine. i'll have to get together all of our test files and run it through them once to see if i can reproduce it again.
but i do have a sample that it does not display or convert correctly but i'll gather some samples up of those and start another thread. but the attached one you'll see that the true type text in the titleblock is too long and it appears that true type text in general in the toolkits do not take up the exact same physical space as in autocad for both dwg and dwf.
attached files (115.7 kb, 13 views)

last edited by blenderman; 4th august 2004 at 07:47 amfff">.
dwf import
quote:
originally posted by wvk
this happens when you import files generated by acad or by dd dwfexport?
what layout was published - modelspace or paperspace?
this is happening when i create a blank dwg file ( ctrl n ) in the odamfcapp sample app, and import any dwf file using the latest 1.11.01 release. when i vectorize the resulting file there is a rectangle in the middle of the drawing filled with the current background color. i assume this is some entiity created with the original new file ( ctrl n ).
i think that is the default background for the papersize that is probably 8.5x11 by the looks of it on mine. if i import in a dwf6 and then save it as a dwg then and bring the dwg back into autocad the papersize is correct then. so it looks like they just aren't updating it in the display.
i also noticed that after setting the active layout on test sample app that you also have to hit the vectorize 1 again to get it to redisplay properly. so you might want to try that first and see if it fixes it.
quote:
true type text in the titleblock is too long
yes it is a bug in dwf import, now it is fixed.
if you notice any other bugs, let us know.
quote:
so it looks like they just aren't updating it in the display.
i also noticed that after setting the active layout on test sample app that you also have to hit the vectorize 1 again to get it to redisplay properly. so you might want to try that first and see if it fixes it.
you are right.
but these are the problems of the sample,
so they are not of the top priority
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】arcsellipses wrong in dwf impor yang686526 DirectDWG 0 2009-05-04 04:09 PM
【转帖】adt impor yang686526 DirectDWG 0 2009-05-04 03:49 PM
【转帖】dxfdwg impor yang686526 SolidWorks二次开发 0 2009-04-12 08:45 PM


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


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