All
I refer you to the thread below which I have referenced for this discussion.
https://communities.bentley.com/products/road___site_design/f/geopak-inroads-mx-openroads-forum/73101/importing-ascii-drainage-file-on-inroads
I am trying to do something similar, designing my drainage in a spreadsheet - processing it via VBA or a Macro in Excel to a txt file usable with the Import Drainage from ASCII tool in PRT.
My issue is that the format for the nodes for station and offset is not working correctly.
See below my test code - replicating the code that works in the linked thread - only changing the node format to Station and Offset (Sta Off). For some reason it is not importing correctly. The Pipes are correct, but they all have zero length due to the nodes all coming in at 0,0,0. I have an active alignment of 150m length that has a Horizontal, Vertical and Cant alignment designed.
Any ideas why this isnt working?
BEGIN_FORMAT
PIPE_FORMAT {Pipe_id ent_id ent_ie ext_id ext_ie dia shape type}
MANHOLE_FORMAT {Man_id top_elev}
NODE_FORMAT { node_id sta off }
END_FORMAT
PIPES
PIPE1 MH1 13.636 MH2 13.536 750 1 0
PIPE2 MH2 13.536 MH3 13.436 750 1 0
MANHOLES
MH1 16.0
MH2 15.0
MH3 14.0
NODES
MH1 30.000 5.0000
MH2 60.000 5.0000
MH3 90.000 5.0000