几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】oddbselectionset trouble (http://www.dimcax.com/hust/showthread.php?t=17603)

yang686526 2009-05-06 08:10 PM

【转帖】oddbselectionset trouble
 
oddbselectionset trouble...
oddbselectionset trouble...
im using:
code:
oddbselectionsetptr pss=oddbselectionset::createobject(m_pdatabase);
odresbufptr pfilter = odresbuf::newrb(odresbuf::kdxfstart, "acdbpolyline");
pfilter->setnext(odresbuf::newrb(odresbuf::kdxflayoutname, m_pdatabase->findactivelayout(true)));
pss->crossingselect(pt1,pt2,pfilter);
int ients=pss->numentities();
a couple of questions arise:
1. is this the proper way to attempt this?
2. why doesn't it work?
3. can i call pss->crossingselect(pt1,pt2,null)?
thanks,
tyler
can someone confirm that these functions on oddbselectionset remain unimplemented or non functioning?
boxselect
crossingselect
filteronlyselect
pointselect
windowselect
should i be able to use them?
i'd be cool with passing in a viewport if i could have a standard way of selecting... yes odgsview::select works but its a partial solution.
does it support:
crossing select
contained select
point select
has it been updated....? last i looked carefully at it was just a crossing select.
i stand corrected...nice work guys.
tillerstarredwards


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