A few days ago I wrote a simple script about getting Pile coördinates from Revit to Excel.
And it worked fine! This morning I wanted to refine the script with less user input and before I altered anything I run the script…and it gave an error!
I have 2 user inputs: being the Excel file location and the other being the item selection. And it’s the 'Select Model Elements" node that’s the problem.
Warning: ElementSelector.ByUniqueId operation failed
The managed object is not valid
One of the refinings ment to auto pick all the Piles in my Revit model.
Butt there’s a catch…I want to select only the family’s that start with the number 17.
And 17 is the buildingpart code. Like wall openings indoors is code 32 and wall openings outdoors is code 31.
It’s part of the Dutch NL_SfB code.
But what node do I use to find that family?