RepCad Posted June 8 Posted June 8 Hello everyone, I'm curious to know if it's possible to modify a DWG file without opening it by AutoLisp ? For example, I want to change an image source of a dwg file by AutoLisp in my current DWG. (the target dwg file only has an image) Quote
mhupp Posted June 8 Posted June 8 https://www.cadtutor.net/forum/topic/44080-up-and-running-with-the-2013-core-console/ Quote
BIGAL Posted June 9 Posted June 9 (edited) These may be useful examples. (command "erase" (ssget "X" '((0 . "IMAGE"))) "") (command "imageattach" (strcat "D:\\acadtemp\\" img) pt 1000 0) Edited June 9 by BIGAL 1 Quote
RepCad Posted June 17 Author Posted June 17 (edited) On 6/9/2024 at 7:42 AM, BIGAL said: These may be useful examples. (command "erase" (ssget "X" '((0 . "IMAGE"))) "") (command "imageattach" (strcat "D:\\acadtemp\\" img) pt 1000 0) I mean is to change image's source of a dwg file (which it's closed) Edited June 17 by RepCad Quote
SLW210 Posted June 17 Posted June 17 Do you need a LISP solution? You might look at the Reference Manager, it's in your Programs>AutoCAD folder. How to change Xref paths for multiple drawings in AutoCAD Products (autodesk.com) 1 Quote
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.