Hi all,
Our BIM deliverables requires our Mesh elements to include a Latitude / Longitude value of its centroid to be included as metadata and we are trying to use the new Latitude / Longitude Item Type Expressions to do this ((Technology Preview) Populate an Item Type with Latitude/Longitude Properties (bentley.com)).
The issue is that the new Expression method is looking for a Point, but we are subtracting the Range High by Range low to get our approx Centroid coordinates - eg. this.GetElement().RangeHigh.X + this.GetElement().RangeLow.X)/2)) & "," & ((this.GetElement().RangeHigh.Y + this.GetElement().RangeLow.Y)/2)).
I know this isn't a precise method, but we don't need it to be the exact value (i would love to know if we could get the actual centroid of a Mesh, but thats not critical).
Any ideas? I'm thinking I may need to put together a Point type Item Type and read that perhaps?
Regards,
Mark
OpenRoads Designer 2022 R1 (10.11) | Microstation CE Update 17.1 | ProjectWise CE 3.4