Create feature Slot/groove/pad/pocket

Hi,
can anyone suggest how to create a Slot/groove/pad/pocket using NXopen/ugopen.
preferably C/C++ , vb is also fine.
I searched for class in NXopen C++ documentation, but I didn't get. Can anyone come up with steps to create a anyone of the above said features in NXOpen style
NX journal option, do not record these feature, but I would like to write.

Thank you

One example of creating a pocket can be found here:
http://nxjournaling.com/content/create-pocket

I'd suggest searching the GTAC solution database for more examples.