高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】oddbextents has been eliminated in 1.13.02
oddbextents has been eliminated in 1.13.02?
oddbextents has been eliminated in 1.13.02?
hi,
now i am using dwgdirect1.11.01, i want to upgrade it to 1.13.02, but i can't find class oddbextents in 1.13.02. has it been eliminated? if yes, which class is the new class, or how to rewrite the code as following:
oddbextents ext;
ext.addblockext(oddbblocktablerecordptr(m_spdb->getactivelayoutbtrid().safeopenobject()));
any help appreciated.
oddbextents class was removed.
depending on the task you can use:
oddbblocktablerecord::getgeomextents()
oddblayout::getgeomextents()
odabstractviewpe::viewextents()
the last class is protocol extension which is implemented for all view-related classes.
sergey slezkin
|