How to select face groups or facets programatically?

What I really want is to be able to select certain face groups (ie from Geometry Editor) and do some voodoo magic with them. The closest thing I saw was the DzSelectionMap and tried setting the node's selection map to that but it didn't do anything.
Comments
I think you'll need to access the face groups via a DzFacetMesh object. Parts of the following may be useful to you.