Making a power outlet wall based and changeable by wall type

I am new to dynamo, and i am trying to use dynamo to make a scrip to make a generic family (power outlet) which is not wall based. Changeable by wall type, and so that you are able to see an overview of which outlets are are placed in which walls throughout the projects, and change them with another power outlet if needed. I have been trying to use naviswork to detect the clashes between the power outlets and the walls. However I am not sure which path I must go to make use of this information, and if this is even possible to make a script for what i need, without making the family itself wall based, which seems to be a major issue.

Any help is greatly appreciated.
Best regards.