Hi,
I'm trying out the OpenRoads Asset Tagging XLSM file to be imported into OpenRoads Asset Manager.
Based on examples, the expression this.GetElement().GetDisplayValue("ElementDescription") will return the element General property value under "Element Description".
While expression this.GetElement().GetDisplayValue("Volume") will return the element Geometry property value under "Volume".
However how do I get to extract the display values under the Feature, Component Layer or any other property group set specifically created based on the software functionality?
To see what properties you have available, select an element, open the Named Expressions dialog and go to Utilities > Report Symbols.
Here you'll see the Property Handle for Feature Definition is "ObjectSettings", Feature Name is "FeatureName", Start Station is "MeshSurfaceEntity_StartStation", etc.
Essentially everything reported here under "SelectedElement" can be used with GetElement().GetDisplayValue.
Regards,
Mark
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023
Answer Verified By: mocha
The one weird incorrect/inconsistent Property Handle is "Description" - it should be "ElementDescription"
You're a life saver, Mark.
Thank you so very much.
I tried to get my head around Help document but sadly it did not cover in depth in VBA to include the likes of OpenRoads and such.
With your help I'm finally able to make progress.
mocha