Hi all,
I have been using Item Type / Asset Manager Expressions to report the start and end co-ordinate of Meshes in my ORD models as required for the data deliverables of a current BIM project.
If the element is a simple Mesh (with no Civil Feature Definition) it reports the co-ordinates fine using the expression (with some substring adjustments to split X and Y and a dgn resolution unit adjustment):
This.GetElement().GetDisplayString("Vertices[0]") for start point and This.GetElement().GetDisplayString("Vertices[" & (This.GetElement().GetDisplayString("VertexCount") - 1) & "]") for end point.
The issue I have is that if the element is featurized the expression no longer works and reports the failure value.
Does anyone know how I can get this same value for a Mesh with a Feature Definition?
Hi Mark,
can you provide an example? DGN model in the best case, or at least screen capture how it's displayed in Project dialog and in Element properties dialog?
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
sure - image below shows the properties when it is a "simple" mesh and right is after it has a Feature Definition attached. Same DGN below also.
RIC-WAJ-MOD-50-RD-CWLWHT RG M5B0.dgn
Mark
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023
The attached file is without featurized element, correct?
I do not know ORD well, so I gust opened the file in No workspace / No workset mode and I see meshes only.
To what feature it's transformed? A terrain or something else? Not clear from icon at the capture.
First thought is what really mean "this" in context of simple element (which I guess returns the mesh) and when it's "featurized". Maybe in changes in such way that this or this.GetElement() provides other outputs?
Curious if you ever managed to solve this issue.