[quote user="Sundar"]CElementGraphicsProcessor[/quote]
Presumably that inherits from some class in the MicroStationAPI?
[quote user="Sundar"]mdlElement_getProperties ( &uiLevel , NULL , NULL , NULL , NULL , NULL , NULL , NULL , m_pMSElement );[/quote]
What is the value of uiLevel?
[quote user="Sundar"]mdlLevel_getElementColor(&displayColor, pDgnModelRef, uiLevel);
}[/quote]
What is the value of displayColor? Is pDgnModelRef valid?