查看单个帖子
旧 2009-05-06, 03:54 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)