How Can I Programmatically Insert a Coordinate System?

Hello,

I am new to the Solidworks API and have a simple goal: I want towrite a program to programmatically insert a coordinate system at alocation (x,y,z,yaw,pitch,roll) relative to the global coordinatesystem.

For example, I want to create a coordinate system at(10,3.5,26.8,0,180,122.9) relative to the global Origin.

Can anyone tell me how to do this or provide a quick example to getme going?

Many thanks in advance,
NevilleSolidworksApi macros