getting linestring points

Hi All,

has anyone got a macro that lists all linestring points?

I am looking for a tool that would work like this:

1. I select some linestrings in MicroStation

2. I run a macro while linestrings are selected

3. The macro produces .txt file:

string 1

234545.324 54645.232 12.324

223545.346 56567.234 13.545

235445.346 56887.234 15.573

 

string 2

268845.324 54445.232 13.324

229845.346 56337.234 14.545

235225.346 56227.234 17.573

 

Can anyone help with it? Macro or any tip how to do it will be greatly apreciated. Thank.