ProjectToCPlane: "Unable to project objects"

The objects are closed polysurfaces. Shouldn’t I be able to use ProjectToCPlane to move them to the construction plane? All I get is the error message, “Unable to project n objects.” Perhaps there is a laborious alternative.

Rhino 5.14.522.8390

Hi Don - this command flattens everything to have zero height on the CPlane, it does not do what you’re thinking. It fails on objects - like say vertical faces that would be compressed to nothing - that would not be valid in that state. I have a script someplace, I think, that does what you want, I’ll look for it if no one else pops in with one.
@Don_Teeter - here is a script that may help - Save, then drag and drop this rvb file onto a Rhino window - then type in

MoveEachToCPlane
or
MoveAllToCPlane (this one looks at the selected objects as a group and moves them all together until one hits the CPlane and then stops)

MoveToCplane.rvb (1.5 KB)

-Pascal

1 Like

That worked like a charm. Thank you so much! I will want to learn scripting. Looks pretty straightforward.