Jump to content

Redefining a block via a custom marco button


mrgrotey
 Share

Recommended Posts

Hi guys, long time no post.

 

I have a LOT of drawings all with the same block in and I have updated the block so therefore want to redefine all the blocks, ...as you do.

 

I only have autocad LT 2010 so havent got the LISP coding option.

 

I am trying to do it by assigning the following example code to a button and running it. The only problem is it doesn't run it properly...

 

block name for example is 'box'

C^C^_-insert;box=C:\users\michael\desktop\box.dwg;y;C^C^

 

All the individual lines work when typed but when used in the button macro it stops at:

C^C^_-insert;box=C:

...and doesnt accept the backslash and so stops the macro from continuing.

 

How can I get it to run a file path??? this is doing my swede in :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...