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

yang686526 2009-05-06 03:54 PM

【转帖】initlights not operational
 
initlights not operational
initlights not operational
hi,
i am creating a code to extract the lights attached to the drawing.
i can iterate through all entities and get only oddblights ones without problems.
however, i saw that odgsbasevectorizeview has 'initlights' that, in theory, returns an iterator containing all lights in the active view.
well, i tried implementing:
...
void myvectorizeview::initlights(odrxiterator* plightsiterator)
{
...
}
but it is never called.
i tried inserting a call to the inherit initlights from another part of my code:
...
void myvectorizeview::endviewvectorization()
{
odrxiteratorptr iter;
odgsbasevectorizeview::initlights(iter);
...
}
but iter is always null...
please anybody can help me?
thanks in advance,
israel

void initlights(odrxiterator* plightsiterator)
is not currently implemented in odgsbasevectorizeview.
umm, i see... time wasted.
thanks for your quick response
israel


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