Coordinates of lines and curve

Hello,

I currently am using microstation v8i ss4 and I have my drawing setup to a coordinate system. My drawing consist of a bunch of lines and curves.

What I would like to know is there a fast way to get the coordinates of all the coordinates of the begin of line, bc and ec and end of lines. I know I can move the cursor over the points but this will be very time consuming.

Can the coordinates be placed in a table where I might be able to print it out.

Thanks

  • I would like to know is there a way to get the coordinates of the begin of line, bc and ec and end of lines

    Visual Basic for Applications (VBA) could do that.  You'll have to write some VBA code, or pay someone to write it for you. 

    Before you start, you must decide the format of the data you write.  XML is a good candidate, because it can accommodate variable-length records (such as a set of line vertices) and 3D data points easily.  On the other hand, a Comma-Separated-Value (CSV) list would be a poor choice, because it can't easily represent variable-length records.

    Why do you want those data?  Most people like to draw lines and then print them.  Knowing the coordinate values is not always useful.

     
    Regards, Jon Summers
    LA Solutions

  • Hi Steve,

    the answer is yes, if you have someone who could write you a little VBA Program. This VBA could write alle coordinates to a CSV / Excel file.

    Mit freundlichen Grüßen / Best regards
    Volker Hüfner

    |  AB_DATE Engineering  Software   |  ab-date.de  |

  • currently am using microstation v8i ss4 and I have my drawing setup to a coordinate system. My drawing consist of a bunch of lines and curves.

    What I would like to know is there a fast way to get the coordinates of all the coordinates of the begin of line, bc and ec and end of lines. I know I can move the cursor over the points but this will be very time consuming.

    Can the coordinates be placed in a table where I might be able to print it out

    there is a  way right now without vba set your active level to an new name and set your text to cc and  a easy to read height, now turn off everything except the objects you want xyz for  now run the export coordinates xyz tool to a csv file in the settings for this tool you have the option to label the points with a number it will also put this id number into your csv table.. and you can use a fence to capture all or a selection.. then open the csv with excel or note pad and  you can modify this to have nice headings and  import  the table back as excel embedded  and it will reflect the numbers... you may  have edit out  some  points  if some  lines  have  extra vertices or like squares the start and end are  duplicated .. but generally  works pretty well, the annotations are  in the order the line work objects were placed.. but if your happy that its done ... if you want  the arcs separate from the lines then only select the arcs run the tool and then only select the linestrings and run the tool again and either use append or new csv...

    Let me know if you need more help on this I use it a lot.

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • export coordinates xyz tool

    This is also a good possibility. I learned something new. And found even some interesting article here: How to export coordinates for the center point of circles in the design file?

    Mit freundlichen Grüßen / Best regards
    Volker Hüfner

    |  AB_DATE Engineering  Software   |  ab-date.de  |

  • volker has link to show you  how to use the xyz tool I mentioned but it will work for arc and strings and it  will add the centres of the arcs but as they are labelled  you can see  which to remove  from your table or change the text to not show arc centres...

    much easier than creating and debugging  vba when the tool already exists .. yes less powerful but you can use it  right away... and it  lets you use  excel which most modern office workers can already do lots of easy clever stuff... and simple msnt  pastes special to make the table embedded  with excel formatting looks really  good in microstation let me  know how this works out for you...

    communities.bentley.com/.../how-to-export-coordinates-for-the-center-point-of-circles-in-the-design-file

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me