delete elements in a parametric cell using variable

i just made a parametric cell, it works well. The cell is a conveyor with power unit, but sometime i do not need power unit when placing the cell. Is there any way to delete elements in a cell automatically using variables, when placing cell in design model.  i do not want explode cell and delete elements. 

Parents Reply Children