I’m having some problems with this code. I’m trying to export the pile mark value from the pile family add loads in excel, then bring the loads back into family in Revit. For whatever reason the loads are coming in, but the pile marks are being re-numbered by this code to random values. (see pictures below)
I run another code to give the piles a mark and this use a bounding box technique, could this be the scource to my problem?
Please see below.