General Approach to find a code

Hi Guys,

I would like to learn to write a code for a particular procedure in a solidworks part modeling.

Eg 1: I need to create a plane.

Eg 2: I need to create a sketch.

Now How do I find which code to use to do these in VBA.

I get the general code to access solidworks as follows.


Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc

After this, how will i approach.

I would like to know the approach. So that, I can learn  how to use API Help to find the code for different features that I will need.

I need to create a complete model using API.

Cheers

Ashwin.

SolidworksApi macros