How to import images(BMP) with a keyin??

Discussion in 'Microstation' started by PP1, Oct 4, 2006.

  1. PP1

    PP1 Guest

    I've got a lot of picture (BMP) off traffic signs.
    Each sign has to become a cell.

    I intent to do this as follows:
    - With the command "model create design a5" I create a design model
    with

    the name "A5" (this name becomes the cell name)
    - Then I want to import the picture with the name "a5.gif" into this
    model. (proportional, xy=-0.5,0.5;dx=1,1) (these command I want to put
    into a simple textfile)

    But the import gives a problem:
    What is the keyin for importing pictures???

    When I look at the command behind the pulldown menu File --> Import -->
    Image

    I find "mdl load PLAIMAGE".
    But this is not helpfull.

    The result should be a textfile that looks like this:

    model create design a1
    place image;c:\a1.bmp;xy=-0.5,-0.5;dx=0.5,0.5
    model create design a2
    place image;c:\a2.bmp;xy=-0.5,-0.5;dx=0.5,0.5
    model create design a3
    place image;c:\a3.bmp;xy=-0.5,-0.5;dx=0.5,0.5
    model create design a4
    place image;c:\a4.bmp;xy=-0.5,-0.5;dx=0.5,0.5
    etc.
    etc.

    Than I call the textfile from MicroStation (@c:\name.txt) and I'm done.


    Thanks


    Peter
     
    PP1, Oct 4, 2006
    #1
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.