PBP / SP Value via Background Open

Hi!

I am trying to batch open a selection of RVTs from a folder, access the Survey Point / Project Base Point values (E/W, N/S, Elev ETC) and publish these to an excel spreadsheet.

I can get the files from the folder to publish their file path, file name to excel - but am getting no values on the Survey Point / Project Base Point coordinates?

Originally I was trying to use Categories / All Elements from Category node sequence - but I think this is selecting elements from the open file only. Are there nodes which would allow me to access this content from the background open?

Thanks,
Jaclyn

Read PBP-SP from Directory of Files 0.dyn (34.1 KB)

Hi erfajo,

Please find above the current edition I am working with.
I have gotten the values to publish to excel via a current project, but cant get them to publish from the directory.

Any help would be very appreciated !

Thanks erfajo - this works in Revit 2017!

Just wondering in 2016 I get an error at line 28?