kLocation = App.TGPoint3()
kLocation.SetXYZ(X, Y, Z)
pShip = loadspacehelper.CreateShip("Name1", pSet, "Name2", "kLocation")
App.DamageableObject_Cast(pShip).SetCollisionsOn(0)
pShip.SetStatic(1)
pShip.SetTargetable(0)
Name1 is the name of the ship in the ship script (in Bridge Commander\scripts\ships)
Name2 is an arbitrary name you assign to the ship
and
X,Y and Z are x,y and z coordinates