Jump to content

Recommended Posts

Posted

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 :)

Posted

Should I be using forwardslashes instead of backslashes?

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...