How to put constraints on MARTINI beads

GROMACS version: 2019.6
GROMACS modification: No
Here post your question

I want to put constraints on a group of SiO2 MARTINI beads forming a shape of a square pyramidal structure (AFM tip structure). Actually, I want to pull this tip structure in negartive z-direction towards my lipid bilayers. Can you please help me how to apply contraints so that the beads remain in their position keeping the shape intact and moving in the z direction.

Looking forward to hearing from you.

Best,
Saswati