how to add electronic design in mechanical part design Like walking spider robot with all the electronics ?

I wanted to add circuit and show batteries for my piezoelectric transducer project which i have design in solid works part design and if my way of doing is please correct me