[ORD SDK 10.10.21.04] How to get Subsurface.Model.UtilityModel?

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();
        ...
    }

Parents
  • 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.

  • Hi Jonathan

    Final drawings acording Czech and Sloval standards are differently than current tools offer now.
    There are lot of things, what we need to supply for our customers and there is not possible to summary in one thread here, but I will try it...
    The following descriptions and editing tools that are missing in the software are absolutely essential for our designers:
    ANNOTATION
        PLAN:
            - Annotation of branches along  branch (branch name, size and material and lengths of pipes in this branch). Lengths should be aggregated (summary od lenghts for the same pipe size and material) in annotation. See a picture
            - to show and annotate a protecting pipes
            - to annotate direction nodes along pressure branch, pressure pipes
            
        PROFILE    
            - to draw one profile for all (vertical) moved profiles along branch
            - annotation in box of profile
                - annotations of intersections of another linear features
                - annotations of intersections of another pipes
                - move annotation leader lines when texts are overlaping. Now we can move it in frame only (under bottom of profile)
                - annotation of pressure nodes
                - annotation more terrains (desing, more existing surfaces)
                - annotation of pipes and utlities along profile in schematic mode (station - station and horizontal line with specific linestyle and length annotation)
                - show and annotate of protection pipe
            - annotation under bottom of profile
                 - aggregated anotation of lenghts of pipes, to change it when slope or size or material is changing only. Now is annotated each pipe individually.
                - 4 rows of annotation (sizes, slopes, capacity a and velocity)            
                - intersection of another pipes annotation            
            - annotation above profile
                - annotation of areas of covering surface (grass, concrete, asphalt...)
                - annotation of general area (land use, cadastral territory,...)                    
                - annotation of direction of pipes in nodes (see a picture)
            
    EDITING
        - bulk editing of slopes between more nodes
        - to work with center of node for pipes. To place a pipes from node to node by center point of nodes, but to cut a pipes at edges of manhole. When I am rotating a manhole to keep a pipe inverts in node center. It means pipe is placed from node center point to node center point (pipe inverts are in nodes center points) but software shows the pipes from edge to edge of manhole)
        
    COMMON
        - We need to work with branches (by name, not only by number). To set it from node to node and to have a renaming possibility
        - Work with direction nodes (vertices of branch where XY direction changes). To set name of these nodes, to have a possibility to rename them
        - Manhole composition  
            - to compute this composition acording to manufacturer (bottom, more circles- rings between bottom and top and top)
            - to report it
            - to draw pieces of composition into drawing in 3D (now we have posibility to set top and bottom of manhole only)
        - protection pipe
             - possibility to create a protection pipes (from pipe station to pipe station)
             - possibility to set and change a size of protection pipes (Pipes that are protecting a drainage, gas,... pipes). To change its size according to size drainage pipe)
        - trench
            - pipes
                - to set and change a trench type according to covered surface (concrete, asphalt, grass,....)
                - to change trench when pipe size is changing
            - manholes
                - possibility to set a trench for node
                - to change a trench type
        - possibility to change a size of node (similar to pipe sizes). We have to change feature definition now.


    I can send you drawings with annotation and with more details. When it is not possible to have these tools in software, we need to have more tools in SDK. Our customers need and want to use a software, but they have to use old Storm and Sanitary + StormCZ (aditional tools for designers in Czech Republic - code in VBA, I could use database tools)

    Regards

    Josef

Reply
  • Hi Jonathan

    Final drawings acording Czech and Sloval standards are differently than current tools offer now.
    There are lot of things, what we need to supply for our customers and there is not possible to summary in one thread here, but I will try it...
    The following descriptions and editing tools that are missing in the software are absolutely essential for our designers:
    ANNOTATION
        PLAN:
            - Annotation of branches along  branch (branch name, size and material and lengths of pipes in this branch). Lengths should be aggregated (summary od lenghts for the same pipe size and material) in annotation. See a picture
            - to show and annotate a protecting pipes
            - to annotate direction nodes along pressure branch, pressure pipes
            
        PROFILE    
            - to draw one profile for all (vertical) moved profiles along branch
            - annotation in box of profile
                - annotations of intersections of another linear features
                - annotations of intersections of another pipes
                - move annotation leader lines when texts are overlaping. Now we can move it in frame only (under bottom of profile)
                - annotation of pressure nodes
                - annotation more terrains (desing, more existing surfaces)
                - annotation of pipes and utlities along profile in schematic mode (station - station and horizontal line with specific linestyle and length annotation)
                - show and annotate of protection pipe
            - annotation under bottom of profile
                 - aggregated anotation of lenghts of pipes, to change it when slope or size or material is changing only. Now is annotated each pipe individually.
                - 4 rows of annotation (sizes, slopes, capacity a and velocity)            
                - intersection of another pipes annotation            
            - annotation above profile
                - annotation of areas of covering surface (grass, concrete, asphalt...)
                - annotation of general area (land use, cadastral territory,...)                    
                - annotation of direction of pipes in nodes (see a picture)
            
    EDITING
        - bulk editing of slopes between more nodes
        - to work with center of node for pipes. To place a pipes from node to node by center point of nodes, but to cut a pipes at edges of manhole. When I am rotating a manhole to keep a pipe inverts in node center. It means pipe is placed from node center point to node center point (pipe inverts are in nodes center points) but software shows the pipes from edge to edge of manhole)
        
    COMMON
        - We need to work with branches (by name, not only by number). To set it from node to node and to have a renaming possibility
        - Work with direction nodes (vertices of branch where XY direction changes). To set name of these nodes, to have a possibility to rename them
        - Manhole composition  
            - to compute this composition acording to manufacturer (bottom, more circles- rings between bottom and top and top)
            - to report it
            - to draw pieces of composition into drawing in 3D (now we have posibility to set top and bottom of manhole only)
        - protection pipe
             - possibility to create a protection pipes (from pipe station to pipe station)
             - possibility to set and change a size of protection pipes (Pipes that are protecting a drainage, gas,... pipes). To change its size according to size drainage pipe)
        - trench
            - pipes
                - to set and change a trench type according to covered surface (concrete, asphalt, grass,....)
                - to change trench when pipe size is changing
            - manholes
                - possibility to set a trench for node
                - to change a trench type
        - possibility to change a size of node (similar to pipe sizes). We have to change feature definition now.


    I can send you drawings with annotation and with more details. When it is not possible to have these tools in software, we need to have more tools in SDK. Our customers need and want to use a software, but they have to use old Storm and Sanitary + StormCZ (aditional tools for designers in Czech Republic - code in VBA, I could use database tools)

    Regards

    Josef

Children
No Data