How do I insert components as an addin?

I am new to the API world, I have dabbled in VB just a little a long time ago. Here is my problem.

I have the start of an assembly with one component inserted, and locked, at the origin.

The “Front” Plane is the surface of this flat component. This is my assembly base component.

I have two text files of other components, which need to be inserted, by their origin – each containing:

Component Name, X, Y, Z (from “Front” Plane), and Orientation, or Rotation, of the component (around it’s Z axis)

( these can be arranged in any fashion)

1.   First group to be inserted on the front face of the “Front” Plane of the assembly:

   

2.   Second group to be inserted on the back face of the “Front” Plane of the assembly:

      (this can be done as a separate assembly)

The inserted parts DO NOT need to be mated – just placed.

Is there any API which will get me close to inserting parts with X-Y dimensions?

Thanks,

John

SolidworksApi macros