Pass an array to Rhino.Command?

In RhinoScript I’m trying to make something like a rotate around curve, and what I want to do is to pass an array of objects to rotate

Rhino.Command "Rotate3d SelID " & arrObjects

I could use Rhino.GetAngle and then Rhino.RotateObjects instead, but was hoping to to use Rhino.Command “Rotate3d” so the user could get a preview of the geometry rotating about. Any ideas?

Thanks,
Sam

do the following:

rs.UnselectAllObjects()
rs.SelectObjects( *your array of IDs )
rs.Command("_Rotate")

Optionally, include a rotation point in your rotate command. “_Rotate 0,0,0” (check the syntax yourself, I’m not sure thats exactly correct)

Oh goodness, that was simple :blush: Thank you,

Sam