I use a very similar script to get ancillary data. However when I try modify it to get hosted information I can’t get it to read. I’m trying to read the element ID of the pipe fabrication hangers are hosted to.
The API class I’m trying to use: http://www.revitapidocs.com/2018.2/c74f8adf-a227-098c-b58c-a2998560c0d3.htm
The property I’m after (via Revit Lookup):
I’m not experienced enough to tell if I’m missing something simple, or if what I’m trying to do is impossible.