I've tried to use the ElementPropertiesGetterPtr and it works fine on other element types (lines, linestrings, cells, shared cells etc) but it doesn't work on GroupedHole elements. The color returned got some very strange value like 1880678415...
I've just tested it again and now I can see why. The originally returned value was COLOR_BY_LEVEL and as I tried to get the color from the level, I didn't see that the LevelHandle was not OK.
Here is my code:
UInt32 color = propGetter->GetColor(); lvlHandle = eh.GetDgnModelP()->GetFileLevelCache().GetLevel(propGetter->GetLevel()); if (color == COLOR_BYLEVEL) color = lvlHandle.GetByLevelColor().GetColor();
Regards, Evan