Parameters are accessed with C4DAtom::GetParameter()/ C4DAtom::SetParameter(). See Parameter IDs.
Parameter: Particle Group
PGEOM_LINK
Parameter: Sub Groups
PGEOM_SUBGROUPS