Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: pick block, open it for editing, save then redefine in existing drawing

  1. #11
    I could stop if I wanted to aaronic_abacus's Avatar
    Join Date
    2006-04
    Posts
    316

    Default Re: pick block, open it for editing, save then redefine in existing drawing

    (if (= mind "drunk") (prompt "\ndon't post while drunk! "))

    http://www.watsonlisp.com

    Artificial Intelligence for AutoCAD
    Find detail drawings by text and attribute content!
    6000 lines of code and 14 years in development.

  2. #12
    Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    2,401

    Default Re: pick block, open it for editing, save then redefine in existing drawing

    Quote Originally Posted by aaronic_abacus View Post
    ... edit the definition of a block then redfine it.
    Code:
    (defun c:FOO ()
      (command "._refedit")
      (princ)
    )
    "Potential has a shelf life." - Margaret Atwood

  3. #13
    I could stop if I wanted to aaronic_abacus's Avatar
    Join Date
    2006-04
    Posts
    316

    Default Re: pick block, open it for editing, save then redefine in existing drawing

    wow that's cool, didn't know that could be done!
    refedit is nice

    http://www.watsonlisp.com

    Artificial Intelligence for AutoCAD
    Find detail drawings by text and attribute content!
    6000 lines of code and 14 years in development.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 11
    Last Post: 2009-11-09, 11:30 AM
  2. Multiple block insertion with a script to redefine existing blocks?
    By drafterjohn in forum AutoCAD Customization
    Replies: 5
    Last Post: 2009-08-10, 01:52 PM
  3. Unable to save drawing after editing a table
    By magnusonzach in forum AutoCAD Tables
    Replies: 4
    Last Post: 2008-04-04, 08:04 PM
  4. Redefine Open - automatically run a script upon opening a drawing
    By Mamma Jamma in forum AutoCAD Customization
    Replies: 9
    Last Post: 2005-12-21, 06:33 PM

Posting Permissions

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