How to get a list of features for a part in an assembly (API)

Hi,

I'm trying to get control over the features in a part, by managing them in an array, but I'm not quite sure which functions that are suitable.

My preconditions:

I'm in an assembly, and a part is selected

My goal:

To get a list/array of all features (extrudes, reference points etc) for this part

In the same manner I want to get the content of a selected feature (e.g an extrude) in an array.

I used to work with CATIA API and I'm pretty unexperienced with the SW API, the world is kind of upside down for me when it comes to managing features and references... So, a little bit of guidance would be very appriciated

SolidworksApi macros