daisenson Posted October 7, 2010 Share Posted October 7, 2010 Hi there, I have a few block that were used on a large documantation and need to be redefined. I generally do this using the source blocks that have been modified from the design center and redefine it on the target drawing. Any ideas of how to automate this via lisp? To sum up: -redefine a block from an instance of this block located in a directory outside the drawing. Thanks Quote Link to comment Share on other sites More sharing options...
BlackBox Posted October 7, 2010 Share Posted October 7, 2010 Try this: (command "._-insert" "[color=red]oldBlockName[/color][color=black]=[/color][color=blue]newBlockName[/color]" "") Another example: (command "._-insert" "[color=red]TEST[/color]=[color=blue]C:\\Documents and Settings\\<user>\\Desktop\\TEST[/color]" "") 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.