Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

rkmcswain
en respuesta a: Anonymous

This could be done with autolisp, but there would be some restrictions. In order to be able to type in a string that matches a drawing name like "my house", there would have to be a function named this, *prior* to you typing this in.

 

So where would your autolisp code get the list of drawing names you *might* type in? If you have a directory defined in which all of your potential block inserts would come from, then it's possible for the autolisp code to iterate this directory, gather all of the drawing names, and build a lisp function on the fly for each one to insert this drawing upon execution of the function with the same name as the drawing. 

 

You'd also have do some extra work to accommodate spaces in file names and perhaps other "gotchas". So, it's a lot of work, and there are so many ways to insert content, that this is probably not feasible.

 

 

R.K. McSwain     | CADpanacea | on twitter