Hi all,
I am trying to assemble an Item type Expression to get the Corridor name of a Corridor Mesh object and using the keyin "ECX ITEMS DUMP" i have put together an expression that I think should be close, but with limited experience with EC Objects i cant find enough information to get it working (if its possible that is).
So far i have this:
this.GetItem("Bentley_Civil_Model__Geometry:MeshSurfaceEntity").GetRelatedInstance("Component_Entity_Embedding:1:Corridor").GetItem("CivilSchema:Corridor_Presentation").Name
Any ideas where i've gone wrong? Attached is my test EC dump file.
ECDump_test_00001.zip
Regards,
Mark
Hi Mark,
to what element (identified by element id) you want to attach the Item?
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
As an example, i want to attach to element with element ID 1814
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023