iztok13 Posted March 8, 2013 Share Posted March 8, 2013 Hello, Im searching for lisp routine or some other way to insert multiple images (tif FORMAT) at once in *.dwg file. I have a lot of images to put into dwg drawing. The insertion point of images is the same or however, where, because I have georef lisp to put in the correct coordinate position. So i need multiple attach of images. Any idea? Quote Link to comment Share on other sites More sharing options...
MSasu Posted March 8, 2013 Share Posted March 8, 2013 You may build a script for this task: _IMAGE _A "C:\MyPicturesFolder\ImageToAttach.jpg" 0.0,0.0 1.0 0.0 ;end of script Quote Link to comment Share on other sites More sharing options...
iztok13 Posted March 8, 2013 Author Share Posted March 8, 2013 You may build a script for this task: _IMAGE _A "C:\MyPicturesFolder\ImageToAttach.jpg" 0.0,0.0 1.0 0.0 ;end of script but i need to put for each file diferent name in script ? this would be even more slowly? Quote Link to comment Share on other sites More sharing options...
MSasu Posted March 8, 2013 Share Posted March 8, 2013 Yes, you will need to have one line for each image you want to attach. _IMAGE _A "C:\MyPicturesFolder\ImageToAttach1st.jpg" 0.0,0.0 1.0 0.0 _IMAGE _A "C:\MyPicturesFolder\ImageToAttach2nd.jpg" 0.0,0.0 1.0 0.0 _IMAGE _A "C:\MyPicturesFolder\ImageToAttach3red.jpg" 0.0,0.0 1.0 0.0 ;end of script To build an AutoLISP routine will be quite similar, I mean that code will still require to contain those names. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted March 8, 2013 Share Posted March 8, 2013 I moved your thread to th AutoLISP, Visual LISP & DCL forum. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.