Get List of Pipe Segments

Hello

How do I get a list of Pipe Segments in a RVT file?