+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Forum Newbie
    Using
    P&ID 2010
    Join Date
    Jan 2012
    Posts
    3

    Question Unique valve number

    Registered forum members do not see this ad.

    While doing my last project, i copied the valves i was using and did not alter the model number of the valves. This way, many of the valves have equal tags.


    I was woundering if there's a way to automaticly renumber the tags to make them unique? I have more than 1000 valves in my project

  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 2014
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    38,279

    Default

    See this thread. Post #46. Lee Mac's lisp routine (ReNumAtts).

    http://www.cadtutor.net/forum/showth...ight=numbering
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge! N-E-S-T-L-E-'S, Nestle's makes the very best......chocolate.

  3. #3
    Forum Newbie
    Using
    P&ID 2010
    Join Date
    Jan 2012
    Posts
    3

    Default

    Thanks ReMark but i can't make it work.

    The tags i use are like: 65 (diameter)-ME (class)-034 (number).

    I was looking for some way to renumber all the tags, starting from 001 for example.

  4. #4
    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 2014
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    38,279

    Default

    You have to change the block name and the attribute tag in the routine then it should work as far as I can tell.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge! N-E-S-T-L-E-'S, Nestle's makes the very best......chocolate.

  5. #5
    Forum Newbie
    Using
    P&ID 2010
    Join Date
    Jan 2012
    Posts
    3

    Default

    I am sorry ReMark, but what changes do i have to make?

  6. #6
    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 2014
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    38,279

    Default

    Registered forum members do not see this ad.

    See post #4.

    Open the lisp routine and change the info for those two items (block name and attribute). Save the file after editing.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge! N-E-S-T-L-E-'S, Nestle's makes the very best......chocolate.

Similar Threads

  1. Replies: 4
    Last Post: 29th Dec 2010, 06:28 pm
  2. Unique CUIs?
    By HydroGuy in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 0
    Last Post: 21st Oct 2010, 12:20 pm
  3. valve
    By TonyBorland in forum Autodesk Inventor
    Replies: 8
    Last Post: 2nd Jan 2010, 02:55 pm
  4. Penstock Valve
    By skipsophrenic in forum AutoCAD General
    Replies: 4
    Last Post: 19th Feb 2009, 02:59 pm

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