Is it possible??

Discussion in 'Microstation' started by AL-MARAGHI, Nov 17, 2004.

  1. AL-MARAGHI

    AL-MARAGHI Guest

    Hi everybody..

    I have a question for long time ago with no answere..
    I hope that I'll get it here.

    Well I have some files, each file containes thousands of lines which
    are crossing each other..

    What really I need right now is to select the lines which are on same
    angle (suppose angle 90 degree)..

    Is that possible? & how?

    Thanx in advance for any respond.
     
    AL-MARAGHI, Nov 17, 2004
    #1
  2. AL-MARAGHI

    AL-MARAGHI Guest

    Hi Jeffrey..
    Thank you for you responding..

    Well, unfortunately I don't have any experience with ustn basic except
    running them!!

    I knew that my problem can be solved by a macro or mdl if available
    somewhere on the web..
    Maybe only one or two times I created a macro by recording the clicks
    for very simple things, but no more.. even when I tried to refer to
    the macro help file I couldn't get of it, maybe because of my bad
    English plus the no foundation about the basic. (BTW where can I find
    the help file which you told about?).

    Because all of that I'am trying to find any available solution or free
    macro or mdl.

    Thanx again
     
    AL-MARAGHI, Nov 18, 2004
    #2
  3. AL-MARAGHI

    AL-MARAGHI Guest

    Hi Dave..

    Sorry for that as you said that I didn't respond.
    Well I had a problem with my pc, some one hacked it & destroyed most
    of the files + that I couldn't get the new emails.. because of that I
    didn't get your email.
    I'll try to send you a copy of the file by Saturday from the work.
    What I really need is that to get the coordinates of each intersection
    of the 2 lines to place cell instead.
    Is that clear?? I hope I could explain it clearly..
     
    AL-MARAGHI, Nov 26, 2004
    #3
  4. AL-MARAGHI

    AL-MARAGHI Guest

    Yes Dave..
    Exactly as u said: place a cell on the intersection.
     
    AL-MARAGHI, Nov 27, 2004
    #4
  5. Yes it is.
    I have writen some code in VB that is cappable of intersections detection. I
    is one of my very first and almost unique expericence in programming tasks,
    so it's surelly a kind of "a canyon to kill flies" but works and I wolud be
    pleased sharing it.
    The program finds self-intersections (segments belonging to same lstring),
    the common point for lstrings connected at their endings, at the joint of a
    T, and it is tolerance-sensitive for solving 3d problems where propper
    intersections are statistically rare.
    It has been programed to run on a text file containing two polyline
    definition and just shows the result in a list-box. So you must be able to
    implement the algorithm in Microstation Basic, MDL and add the few lines to
    direct the ouput to a place cell command... sounds easy ;-) and so you are
    encouraged to share the resulting app.
    Are you still interested? Is someone?... please programmers don't laught at
    this proto-beginer.
    José
     
    José Martínez, Nov 29, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.