Visualization with different modes

Dear all, 

How can I plot something like the below figure? Some of ions/molecules are in the solid-framework mode and others are in the ball and stick mode.

Thank you and regards,
Trang