AssemblyDoc.AddComponents Automation Error

For the life of me I can't get the example here to work.  I keep getting an automation error at the AddComponents line?!  Can anyone offer any advice on that?  I have used the supplied code verbatim on a locally saved assembly.  I have created the part specified in the macro to add.

On a related note - does the Transform Array require an index for each component you are adding?  In other words, is my Transform Array:

Transform(15) or

Transform(0,15) or for 2 components

Transform(1,15) or for 2 is it....

Transform(31).....

I looked at the help (for too long) and am confused....

SolidworksApi macros