hey
create all models in MED, then place only the door in WED
create the door, save
using the door, create and all the switches to align to the door and save as template
then delete the door and switches 2-9 (leaving only switch1) and save as switch1
open template and repeat for switch 2thro 9
now the switches will have the correct coordinates to the door by creating the offset in the model
you can create all the switches in MED at 0,0,0 and then calculate their position to the door in code, but it'll be a pain when the door starts moving