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

  • Thread starter Thread starter PP1
  • Start date Start date
P

PP1

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
 
Back
Top