Local Surface color attribute on a closed Brep Grasshopper


I would like to assign specific colors to a certain set of surfaces from a closed Brep via Grasshopper. I do not wish to change the color of all the Brep, just a certain set of surfaces belonging to that Brep. Of course without loosing the Brep topology.

Same as done with Ctrl+Shift selection of surfaces and change display attributes in the Rhino GUI

SelectionSurfaceAttributes.pdf (317.5 KB)

untitled.3dm (1.4 MB)

Afterwards, this Brep has to be exported in Parasolid format with the surface color attributes in the file. Of course all in the conext of Grasshopper.

Many thanks for the help!