高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|