Best practice to modeling a part from another

Good Morning,

I have modeled a part (X) from an existing 3D object.

The I create a new part (Y) where I want to insert the existing first object (X).

My new part (Y) is a kind of complex housing, so the dimension and the vision of the object (X) are mandatory.

My problem, is when I want to hide, the object X or delete it ... some relation are create, some reference exists. And the my object Y is unusable.

What is the best practice to insert or use a reference object inside a project ?

Best regards,

Didier

SolidworksParts And Features