查看单个帖子
旧 2009-05-06, 04:23 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】isnested returns wrong value

isnested returns wrong value
isnested returns wrong value
hi everyone,
the attached drawing has an xref that returns isnested() as false, however in adt, the xref manager window reports nested xref. path can only be changed in the xref's immediate host.
current version i use is 1.14.02.
basic code i use is as follows :
oddbxrefgraph xrefgrph;
oddbxrefgraph::getfrom(m_pdwgdb->m_dwgdb, xrefgrph);
int i = 0;
oddbxrefgraphnode *pxrefnode = xrefgrph.xrefnode(i++);
while(pxrefnode) {
cxrefmgr::cxrefdtls xrefdtls;
xrefdtls.m_sname = std::string(pxrefnode->name().c_str()) ; xrefdtls.m_bnstd = pxrefnode->isnested(); //*** here is wrong value. ********
m_apxrefmgr->addxrefdtls(xrefdtls);
pxrefnode = xrefgrph.xrefnode(i++);
}
hope his helps
jason
attached files
has anyone else looked at this issue yet?
cheers
jason
hello all,
have been going back through old bugs, and thought i would verify this one with version 2.6, and unfortunately this is still broken.
any ideas on when this can be fixed.
cheers
jason
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)