List (palette) of colors are being used in ActiveDocument [SOLVED]

Hi there,

I have a document with lot of different shapes and I want to group all of them with same FillColor.

I'm having troubles getting the list (palette) of colors are being used in ActiveDocument.

In CD 20020 exists the method ShapeRange.GetColors but unfortunately I'm working on X8.

Any clue?

Important: Amount of shapes is amazing (Autocad exported pdf) so looping them is almost unuseful.

Thanks in advence,