几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】isnested returns wrong value (http://www.dimcax.com/hust/showthread.php?t=16968)

yang686526 2009-05-06 04:23 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 10:47 AM.