AutoCAD dvb to Microstation

Discussion in 'AutoCAD' started by Mark Dubbelaar, Jan 12, 2005.

  1. hi

    i was wondering if anyone has tried converting their autocad dvb file for
    use in microstation... is a conversion necessary??? is it possible to have
    exactly the same code or does microstation use different objects /
    properties / methods etc???

    any help would be great

    cheers

    mark
     
    Mark Dubbelaar, Jan 12, 2005
    #1
  2. Mark Dubbelaar

    LochDhu Guest

    Just to re-ieterate what Laurie has already stated. I believe starting at
    V8 of MS offered VBA support. The logic may apply but there will be
    complete re-write of the code. This link can get you started, as Bentley
    has a VBA newsgroup like this one...

    http://discussion.bentley.com/


    Scott
     
    LochDhu, Jan 12, 2005
    #2
  3. Mark Dubbelaar

    Matt W Guest

    It helps if you know VBA for Microstation.
    As Laurie stated, there will be quite a bit of conversion because the
    objects are different.

    For example, if you have a line of code that is something like this: If
    TypeOf objEnt is AcadExternalReference Then...
    Obviously, Microstation doesn't have AcadExternalReference objects.

    It's not easy, but it can be done. I've taken a Microstation program and
    "ported" it over to AutoCAD. It took a while, but it's done and everyone
    here is happy.
     
    Matt W, Jan 12, 2005
    #3
  4. Seems to work well, but don't expect it to read your dvb file directly.
    While in your DVB, right click on each module/form and export it.
    Create a new .MVBA in Microstation, them import.

    Don't expect a ThisDrawing. or your AutoCAD specific code to work. You
    will need different drawing interaction methods.

    It ain't hard, but it ain't easy.

    Terry
     
    Terry W. Dotson, Jan 12, 2005
    #4
  5. thanks for you help

    cheers

    mark
     
    Mark Dubbelaar, Jan 13, 2005
    #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.