Results 1 to 2 of 2

Thread: Dynamic block attribute Renumbering

  1. #1
    Login to Give a bone

    Default Dynamic block attribute Renumbering

    Hello all,

    Using Incremental numbering suite from Lee. I just placed around 800 dynamic blocks (multiple attributes) with one of the attributes being incremental... 001 to 800.
    Now i came to the conclusion that i need 1 more at around 450 or so. The numbering has no real logic but the blocks are grouped somewhat. so if you rea my plan top to bottom left to right you could read someting like 001-002-020-021-799-800

    Now i am looking for a lisp routine that lets me select multiple dynamic blocks and makes all the selected blocks have their attribute adjusted +1

    so block 800 would end up being 801 and block 749 ending up as 750...

    Does something like that allready exist? I found a program which lets me select attribute and set starting number but after that it doesnt let me select dynamic blocks...


  2. #2
    100 Club
    Join Date
    birmingham, alabama
    Login to Give a bone

    Default Re: Dynamic block attribute Renumbering

    hi, what you ask for is a bit messy so i can't write the code unless i knew your situation (and blocks) better.
    basically your routine would read the string (attribute), then convert it to an integer, then add one, then convert back to a string, then update the attribute.

    hope is a gentle enough push,

Similar Threads

  1. 2014: attribute array in dynamic block
    By t.gegeny680921 in forum Dynamic Blocks - Technical
    Replies: 0
    Last Post: 2014-10-07, 01:38 PM
  2. How to change dynamic block attribute default values based on block selected?
    By zeirz109180 in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2013-12-13, 02:20 PM
  3. 2012: Rotate Attribute in a Dynamic Block
    By KansasCAD in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2013-03-13, 06:38 PM
  4. Dynamic Block Attribute problem
    By nate.225159 in forum AutoCAD 3D (2007 and above)
    Replies: 2
    Last Post: 2009-08-03, 09:30 PM
  5. Can't get attribute to rotate in dynamic block
    By tim.101799 in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2006-07-20, 04:14 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