Adding a Component to an assembly

Hello everyone,

I have recorder a macro of when i am adding a component(part) toan assembly. All i do is browse to get the component andthen hitthe ok button and the component gets placed automaticallyto the*correct position*! (The component was previously extractedfromthe assembly hence its coordinates relative to the assemblyaresomehow kept)
The line that does the addition in the macro looks like this:

Part.AddComponent "C:\MyComponents\NewComp.sldprt",2.923105308383E-05, 8.853872873615E-05,-0.001688180616839

Now when i replay the macro, the component gets added toanincorrect location. Does anyone have any idea why this might bethecase?
Also is there another command that will add a component toanassembly without me having to specify the x,y,z locations ofthecomponents center?

Thanks,

--Stav.SolidworksApi macros