I’ve been trying to figure out what went wrong with my script for extracting certain parameters (Asset Tags for all Electrical Elements in the model) It’s been giving me real headache and I can’t seem to figure out why the total number of Electrical Elements (which is 1463) does not match with the total collected elements (when I plugged in flattened list node to collect elements in room node)
My ultimate goal is pretty simple, Stage 1: I want to extract all electrical elements per room and create a spreadsheet of its parameters (i.e., element id, asset tags, family name, etc.) and for Stage 2: If there are accidental tampering in the model, I’d like to push its original parameters (extracted to a spreadsheet) back to Revit.
I understand that it might have something to do with lacing and I’ve tried experimenting different lacing per node but it does not solve my problem.
When I run the script it only gives me 259 elements in lieu of 1463. So my big question is, does it have to do something with list management or list structuring or lacing? I’m a novice user and I’m still trying to get my head around these topics. I have zero knowledge about Python or similar snake as well.
May I ask for some advice please? Apologies in advance if there’s a similar topic