Hi, using the latest daily build (1 Aug 2021) I’ve noticed that the ‘Site Location’ component is returning an ‘empty’. I’ve only just noticed this component as previously I was using the user object. But what is strange is that ‘empty’ doesn’t seem to be empty. I can’t clean it or filter it out. Any idea what is causing this and how it can be resolved?
There is also an issue with Site Location Identity. When the component is first placed on the canvas the lat/long return values in degrees. However, upon restarting Revit and RIR, the values which to radians. Both are ‘new’ components from the latest RIR version.
The first time the component is placed it returns expected Lat Long, but if the file is saved the units get changed. Placing a new component will return Lat Long once again.
@Japhy So I was able to remove the empty values. But I guess the point is that it should be returning any empty values. There is only one site location so there must be a bug in the component.
Regarding the site location identity bug, have you raised a GitHub issue as this needs to be fixed?
@parametricmonkey1 I’m wondering if it was picking up an open family? Hard to tell context of why you are getting empty values, i haven’t been able to repeat that.
There were some problems while converting those elements to text and were displayed as ‘empty’.
The problem with the ‘Site Location Identity’ and lat-long units is fixed now.
‘Query Site Locations’ and ‘Query Shared Sites’ are returning all locations and sites in the document, internal ones, related to project coord system, too.
I think we should provide a way to filter out those project related location and site elements.
The current Location and Site are returned from ‘Project Location’ component.