Hi our users are working with subsurface and utilites elements in OpenRoads/OpenRail. They need better annotation and editing tools and I am glad the SDK version 10.10.21.04 includes some functionality for drainage and subsurface utilitites but now I am bit lost while writing a code. I am able to get subsurface model and attributes of nodes and links, but there are very few attributes only (name, FD,...) in this model. More attributes (coordinates, elevations, points for links,......) are include in Entities in Utility Model, but that is still locked for me.My question is: How to get active Bentley.Civil.Subsurface.Model.UtilityModel? Here are Entities with usable attributes.Can anyone advise?
Regards
Josef
Here is my example workflow for Subsurface model
Bentley.DgnPlatformNET.DgnModel actDGNModel = Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnModel(); ConsensusConnection con = new ConsensusConnection(actDGNModel); if (con == null) return null; { GeometricModel act_geomModel = con.GetActiveGeometricModel(); Bentley.Civil.Subsurface.SDKNet.SubsurfaceModel act_sueModel = SubsurfaceModel.Create(act_geomModel); IEnumerable<Node> sue_nodes = act_sueModel.GetNodes(); ... }
Hi Josef,
I'm not sure what functionality we've exposed for Drainage and Utilities data in the SDK at the moment. A colleague is looking into this for you, but I don't think that we're providing what you need at the moment.
So this isn't going to answer your question directly, but can you help me to understand what your users are wanting to do please? you say "They need better annotation and editing tools" - can you give me some more information on what this means please?
Regarding annotation, we are working to support populating Item Types with data from the databases. You can do this now, but we are adding more automation, with the intention that you'll be able to annotate the Item Types.
Regarding editing, I'm curious about what functionality you need.
Thanks.
View online
You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here.
Flag this post as spam/abuse.
Thanks for these details Josef.
Regards,
Jon