Type Mismatch in parameter. String Required


#1

I am new. Can anyone tell me why I am getting an error?

-Joan


#2

@J11,

hard to say without some code to test. My glassbowl tells me that the method:

Rhino.SelectedObjects()

returns a variant of type array even when one object is currently selected. And the following method:

Rhino.MoveObject(strObject, arrStart, arrEnd)

is expecting only a single object not an array. Maybe you should change that to:

Rhino.MoveObjects(arrObjects, arrStart, arrEnd)

c.


#3

Hello Clement!

Thanks so much. It worked. I am new so I have been trying to solve this for a few days. Thank you for taking the time to help a newb. Much appreciated.

Joan