高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】odcopyex and proxy entities
odcopyex and proxy entities
odcopyex and proxy entities
when i use odcopyex to convert the included file mdt.dwg into 2000 dwg file, the acis block in the proxy is not converted correctly according to version 2000. it seems to keep in binary format.
is it possible to change odcopyex.cpp to have the correct sat block?
i use odcopyex of dwgdirect 1.13.020 to convert acad 2004 files into 2000
so i can continue using opendwg toolkit until i have time to upgrade.
thanks for help me.
nb: source code of odcopyex.cpp is included but i can't include mdt.zip (1.72mo).
attached files
data inside proxy entities is not interpreted/converted by dwgdirect.
in order to correctly convert proxy entity between file versions you need to implement this class - so that it loaded not as proxy but as some custom entity.
if the class is not implemented the proxy data is saved back "as is". but it has version info inside it.
so if you convert 2004 file to 2000 the proxies are still in 2004 format. but if the file is loaded again by some 2004-based application the proxy data can be recognized because it is marked with 2004 version.
sergey slezkin
|