Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: Getting incorrect color for an extended element(type: 106).

$
0
0
Hi Jon,
My code looks like this:
-------
void CElementGraphicsProcessor::_AnnounceElemDisplayParams (ElemDisplayParamsCR displayParams)
{
__super::_AnnounceElemDisplayParams (displayParams);
if( displayParams.m_useElemColorRGB == true )
{
....
}
else if(displayParams.m_isElemColorByLevel)
{
mdlElement_getProperties ( &uiLevel , NULL , NULL , NULL , NULL , NULL , NULL , NULL , m_pMSElement );
mdlLevel_getElementColor(&displayColor, pDgnModelRef, uiLevel);
}
else if(displayParams.m_isElemColorByCell)
{
....
}
}
-------

Regards,
Sundar

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>