thanks !
You can't run vacuum though just any solenoid. They are not rated to hold a vacuum.
Instead run compressed air though, then put a vacuum venturi generator on the end of the arm.
If you have a powerful enough pump you could mount near the base of the robot, or overhead, save run an external tube directly from the pump to your tool.