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

dwf import (affected layouts)
dwf import (affected layouts)
hello,
i'm looking for solution how to detect affected dwg database layouts after importdwf execution. could you please let me know if there any methods exists?
thank you in advance!
best regards,
vasyl.
i can suggest e.g. remembering the counts of entities in existing layouts before import, and comparing them after that.
dwgdirect 1.13 issues
hello support,
i've found one more issue with import functionality (ver1.13). could you please take a look at the attached document.
importer produces single layout for 8-pages of the attached dwf image. after rasterization we will see overlapped 8-page result in the single view (for an example we may use std odamfcapp application). could you please let me know where problem exists?
thank you very much.
best regards,
vasyl.
attached files (328.1 kb, 5 views)

hello vasyl
the cause is that "layout name" property of all the sheets is set to "layout1". do you know how this file was produced?
import behaviour is certaily not correct, i'll think what should be done to fix it. the problem is that we cannot totally ignore "layout name", and on the other hand - different sheets should go to different layouts..
vladimir
quote:
originally posted by wvk
hello vasyl
the cause is that "layout name" property of all the sheets is set to "layout1". do you know how this file was produced?
import behaviour is certaily not correct, i'll think what should be done to fix it. the problem is that we cannot totally ignore "layout name", and on the other hand - different sheets should go to different layouts..
hello vladimir,
thank you very much for your quick response. i will try to get original file, but not completely sure about.
i've tried latest version of brava free dwg viewer. there file has been opened sucessfully. initially i've supposed that brawa based on od libraries. is it correct? if yes, possibly they are solved this problem locally?
best regards,
vasyl.
in 1.12 "layout name" was not used
vladimir
quote:
originally posted by wvk
in 1.12 "layout name" was not used
hi vladimir,
i would just notice that 1.12 has same problem with this dwf. then i thought try 1.13 with hope...
best regards,
vasyl.
hi vasyl,
you are right, i checked file history and found that "layout name" usage was already introduced in 1.12
perhaps they use 1.11, or maybe they fixed the bug internally, but it's strange then, why they didn't report it to us
it would be good to know how the file was obtained, to produce most correct import result.
some fix will be included in the next maintenance release anyway
vladimir
quote:
originally posted by wvk
hi vasyl,
you are right, i checked file history and found that "layout name" usage was already introduced in 1.12
perhaps they use 1.11, or maybe they fixed the bug internally, but it's strange then, why they didn't report it to us
it would be good to know how the file was obtained, to produce most correct import result.
some fix will be included in the next maintenance release anyway
hi vladimir,
thank you very much for this information. we will very apperciate any solution/fix for this issue!
best regards,
vasyl.
quote:
originally posted by vasyl zakharko
hi vladimir,
thank you very much for this information. we will very apperciate any solution/fix for this issue!
best regards,
vasyl.
hello vladimir,
we've got one more idea which may be helpful to fix this issue. actually autodesk dwf viewer expands 'sheet name' property which is unique in this case. possibly combining "layout name" and "sheet name" properties will give us exact layout identification?
best regards,
vasyl.
'sheet name' is not exactly a property, it is just a name of a sheet.
by default autodesk publish sets this name to layout name, or to drawing name + layout name,
but user may rename the sheet to anything else.
and if we import renamed modelspace layout, entities will not get to modelspace.
for dwf exported from single drawing this seem to be unfair.
for now i think it will be enough to remember used layout names and if duplicated layout name is encountered, then use sheet name, that is unique in dwf.
vladimir
quote:
originally posted by wvk
'sheet name' is not exactly a property, it is just a name of a sheet.
by default autodesk publish sets this name to layout name, or to drawing name + layout name,
but user may rename the sheet to anything else.
and if we import renamed modelspace layout, entities will not get to modelspace.
for dwf exported from single drawing this seem to be unfair.
for now i think it will be enough to remember used layout names and if duplicated layout name is encountered, then use sheet name, that is unique in dwf.
hi vladimir,
thank you for this detailed explanation! i've just attemted to share some ideas.
best regards,
vasyl.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】dwf file import contains extra layouts yang686526 DirectDWG 0 2009-05-04 08:22 PM
【转帖】dimentions problem in import export using dwgdirec yang686526 DirectDWG 0 2009-05-04 07:43 PM
【转帖】dxf import to part - layer filter yang686526 SolidWorks二次开发 0 2009-04-13 10:37 AM


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


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