AutoCAD Raster Design General Discussion

Reply
Active Contributor
rhami0002
Posts: 49
Registered: ‎04-26-2013
Message 1 of 4 (488 Views)

Write a lisp for the command IEMBED

488 Views, 3 Replies
05-06-2013 07:24 AM
Write a lisp for the command IEMBED. The image will be a tif . The tif is already in the drawing file. I would like to a lisp that embed the tif into the file. Thanks
*Expert Elite*
hmsilva
Posts: 2,667
Registered: ‎12-17-2004
Message 2 of 4 (478 Views)

Re: Write a lisp for the command IEMBED

05-06-2013 08:42 AM in reply to: rhami0002

rhami0002,
the best way to get help in a lisp is asking in the Visual LISP, AutoLISP and General Customization forum

 

Perhaps something like:

 

(defun c:test ()
(vl-load-com)
(vla-sendcommand (vla-get-activedocument (vlax-get-acad-object)) "IEMBED\r")
(princ)
);; test

hope that helps
Henrique

Active Contributor
rhami0002
Posts: 49
Registered: ‎04-26-2013
Message 3 of 4 (474 Views)

Re: Write a lisp for the command IEMBED

05-06-2013 09:36 AM in reply to: rhami0002
I tried your lisp but it did not work. I will post in the other forum. Thanks
*Expert Elite*
hmsilva
Posts: 2,667
Registered: ‎12-17-2004
Message 4 of 4 (471 Views)

Re: Write a lisp for the command IEMBED

05-06-2013 09:57 AM in reply to: rhami0002

rhami0002,
even in the other forum you have to provide more elements, just

"I tried your lisp but it did not work"

is not enough!
what did you got in the command line?

Command: IEMBED
Unknown command "IEMBED". Press F1 for help.

or something else?
It is difficult to help without further details...

Henrique

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Raster Design Category!

The AutoCAD Raster Design forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Ask the Community