Replace All: Old Physical Device(s)

verified

#1

Just wondering if there’s an easy way to replace an “old device” several of my pistons contain?

For instance, I want to try out the webCoRE presence sensor and overwrite my old sensor with this one. Can this be done in an easier fashion than going into each piston individually and making the change? TIA…


#2

Nope… you need to change each piston manually.


#3

This is the reason why it is useful to use a define for each of the devices used in the position at the top. That way you only have to change the device once, even if it is used multiple times within a single piston.


#4

I do that whenever I can… also helps when sharing pistons around.

Problem I have a lot though, is that custom attributes and commands cannot be used when referencing device variables… the device has to be referenced directly in each statement for the drop-downs to populate.


#5

That is exactly what I am doing on all my new pistons. Finally, my visual basic background did come in handy lol.


#6

Wow, great feedback…thanks guys.


#7

Yes — that’s true. Maybe we should ask for an enhancement here? :wink: