Hi Michael,
Thank you.
Going back a post or two to where you mentioned this:
-The object picker will only target preselected objects if the selection happened before the command started.
-Since you want to automatically select stuff instead of having the user pick them you probably don't want to use the object picker there at all.
-Instead of calling GetObjects() you could call moi.geometryDatabase.getSelectedObjects(); and to wait at the prompt you could call WaitForDialogDone() instead of GetObjects().
I could not get it to work.
See attached.
Thanks.
Frederick
|