+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Junior Member mrgrotey's Avatar
    Using
    AutoCAD LT 2010
    Join Date
    Jul 2006
    Location
    London, England
    Posts
    21

    Default Redefining a block via a custom marco button

    Registered forum members do not see this ad.

    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

    Click Here

    to see my AutoCAD and 3DS Max Portfolio Website

    * * * * * * * * *
    "People said I was dumb.... but I proved them!"

    Phillip. J. Fry

  2. #2
    Junior Member mrgrotey's Avatar
    Using
    AutoCAD LT 2010
    Join Date
    Jul 2006
    Location
    London, England
    Posts
    21

    Default

    Registered forum members do not see this ad.

    Should I be using forwardslashes instead of backslashes?

    Click Here

    to see my AutoCAD and 3DS Max Portfolio Website

    * * * * * * * * *
    "People said I was dumb.... but I proved them!"

    Phillip. J. Fry

Similar Threads

  1. Redefining a block when inserted via lisp
    By asteffy in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 17th Jan 2013, 04:41 pm
  2. Redefining colors for a block in AutoCAD 2012.
    By Mr Latic in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 9th Jan 2012, 08:49 am
  3. Redefining Block Within Drawing
    By JRP1987 in forum AutoCAD Beginners' Area
    Replies: 6
    Last Post: 30th Nov 2011, 11:17 pm
  4. Block editing redefining
    By Drengi in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 9
    Last Post: 18th Nov 2008, 02:55 pm
  5. Redefining color for block...
    By pefi in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 22nd Mar 2007, 09:32 am

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts