I have a script that places a mech equip family over vertical pipes going thru a specific level. It places the family at the floor level (z) at the pipe location (x,y). It will not place a family if there is already a family at that location.
In scenarios when some pipe have families on them and some don’t, the script will remove one of the instances that was already placed. Very odd. So all of the “bare” pipes get a new mech equip family placed on them, but one of the mech equip families that was already placed will get deleted. Not what I want!
For what it’s worth, the ID of the family that gets deleted is then given to one of the newly placed families. I’m using Revit 2020.
Is there any way to keep it from doing this? I’m stumped.