+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Forum Newbie
    Using
    Inventor 2013
    Join Date
    Aug 2007
    Posts
    7

    Question Auto numbering blocks, is this possible??

    Registered forum members do not see this ad.

    Hi
    I know there are various routines for auto numbering by "clicking" and getting a consecutive number each time but is there a routine or a way of being able to automatically number each block with an attribute by swiping the drawing and the routine starts at the top left for instance and works left to right, top to bottom, numbers consecutivley all blocks with that attribute until it runs out of blocks. This would save alot of time 1 swipe everything numbered.
    Thanks

  2. #2
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2015
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    40,124

    Default

    I'm happy you didn't ask for anything that was impossible.

    Let's say you have ten different blocks and each was used ten times. How would you like them numbered? 1 thru 100? Or 1 thru 10 for each distinct block?
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

    I'm now a full member of the Society for the Promotion of Mediocrity in CAD. Standards? We don't need no stinkin' standards! Take whatever advice I offer and do the opposite.

  3. #3
    Forum Newbie
    Using
    Inventor 2013
    Join Date
    Aug 2007
    Posts
    7

    Default

    It would be 1 thru to 100. Each item has its own item number even if it is the same block. Hope that makes sense.

  4. #4
    Senior Member CmdrDuh's Avatar
    Computer Details
    CmdrDuh's Computer Details
    Computer:
    HP workstation xw8200
    RAM:
    2gig, soon to be 4
    Monitor:
    Dual 21s
    Using
    AutoCAD 2009
    Join Date
    May 2008
    Location
    AZ, USA
    Posts
    396

    Default

    the short answer is yes it can be done. The long answer is its going to be hard to code that. But it is possible.
    Everyone has a Photographic memory, some just don't have film

  5. #5
    Forum Newbie
    Using
    Inventor 2013
    Join Date
    Aug 2007
    Posts
    7

    Default

    Do you think that a lisp routine is the best way to achive this?
    It would be great and save loads of time if I could say, draw the plan of a kitchen drag in all the bits of kit, (tables, cookers, ovens, mixers etc) which are all blocks with various attributes (item no, manufacturer, electric load, size, price etc). Swipe the entire drawing to number them up, then run the data extraction to create the legend, quote and any other "list" that might be applicable. I spend so much time changing numbers and typing up legends. Then there is the error factor if you miss type something etc.

  6. #6
    Super Member ASMI's Avatar
    Using
    AutoCAD 2008
    Join Date
    Nov 2005
    Location
    Oceanus Procellarum, Moon
    Posts
    1,427

    Default

    Registered forum members do not see this ad.


Similar Threads

  1. Numbering in AutoCAD 2007- is there automatic numbering?
    By Heidi1950 in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 24th Apr 2014, 02:39 am
  2. Att. Numbering with Dynamic Blocks
    By CLLD in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 5th Aug 2008, 10:59 am
  3. Custom Blocks in a numbering list using MTEXT??
    By tzframpton in forum AutoCAD Drawing Management & Output
    Replies: 12
    Last Post: 10th Jul 2007, 03:46 pm
  4. Auto-numbering
    By RCXT in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 3rd Aug 2006, 03:19 pm
  5. Auto page numbering
    By jeremy.welch in forum AutoCAD General
    Replies: 1
    Last Post: 22nd Dec 2005, 04:32 am

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