Check the AutoCAD dynamic block course here: https://sourcecad.com/courses/autocad-dynamic-blocks/

In this video, I have explained step by step method of using the visibility parameter in AutoCAD to create a dynamic block with a combination of 4 different objects. I have used two different methods to make the block as well.