Hi all,
I am trying to use a EC Expression for a Reports Calculated Column Expression and can't seem to find a way to relate the expression to the model object being reported,
eg. i would like to use an expression like "this.GetElement().Name" to get the Name property of an element or a property using "this.GetElement().GetDisplayValue("xxx")" , however, i can't get this to work.
Is there some special syntax to get the report to select the current model object to retrieve values using Calculated Column Expressions?
Regards,
Mark
Mark Shamoun said:I would like to use an expression like "this.GetElement().Name" to get the Name property of an element
A DGN element doesn't have a name. It does have a description. That is shown in our Area Report example...
Regards, Jon Summers LA Solutions
Hi Jon, i posted a bad example as thats a property i use in ORD for Named elements. A better example for this would be this.GetElement().ElementDescription
OpenRoads Designer 2022 R3 (10.12) | Microstation 2023 | ProjectWise CE 3.4
Any comments from the Bentley team clarifying how these expressions work?