高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】dummys guide to xrefs
dummy's guide to xrefs
dummy's guide to xrefs
could anyone give me a bit of information on what you can (and can't) do with xrefs. i am a new user of the library and i have to write a converter that can go between dxf, dwg and dwf or vice versa. i have been studying various sample apps and i now have something basic working, but i'm not sure what i need to handle with regard to xrefs.
- can a dxf have a dwg or dwf as an xref?
- can a dwg have a dxf or dwf as an xref?
- i'm not sure that dwfs can have xrefs at all?! if so, can a dwf have a dxf, dwg or another dwf as an xref?
in the odwriteex sample i can see that oddbxrefmanext is used to add an xref via the addnewxrefdefblock function.
- what file types can be passed to this function in the filename argument (.dwg ? .dxf ? .dwf ?).
i would really appreciate any comments/advice,
stuart
only dwg files can be referenced as external reference.
both dwg and dxf can have references to external dwg.
dwf files can't contain external references.
sergey slezkin
thank you for the information.
does this mean that if i have a drawing with xrefs i should "bind" them before exporting if i want them to appear in the dwf, or does the export process take care of this automatically?
stuart
|