Adesk::Boolean AdskContainerEntity::subWorldDraw (AcGiWorldDraw *mode)
{
assertReadEnabled();
if (m_pPolyline)
{
if (mode->regenType() != kAcGiSaveWorldDrawForProxy)
{
int end = m_pPolyline->numVerts() - 1;
for (int i = 0; i < end; i++)
{
// Здесь устанавливаю нужный мне цвет для сегмента
//...
mode->geometry().pline(*m_pPolyline, i, 1);
}
}
else mode->geometry().pline(*m_pPolyline);
}
return (AcDbEntity::subWorldDraw (mode)) ;
}