Results 1 to 6 of 6

Thread: auto number title blocks

  1. #1
    Active Member
    Join Date
    2005-09
    Posts
    68

    Default auto number title blocks

    I'm looking for a way to automate the numbering of our titleblock sheet numbers.The sheet number is an attribute of the titleblock.
    If I have one sheet no FP1.01.1 if I copy that sheet it can get the value of the previous sheet no. and increase it by one (FP1.01.2) and so on. would something like that be better supported with VBA or Autolisp?

  2. #2
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,519

    Default Re: auto number title blocks

    I take it you are not using SSM? This would be the easiest way.
    If that is not an option, then you can at least use a field that references the layout name, then as you change the layout name the field(s) will update.

  3. #3
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,344

    Default Re: auto number title blocks

    Are you referring to a command which copies the Layout as a new one, then renames it to the incremented drawing number? I'd suggest obtaining a vlax link to the Layouts collection as well as the source layout. Get the source's name, then using (substr (atoi (+ (itoa and (strcat get the next number. Then using vla-Add on the Layouts collection add the new number as a layout into the Layouts collection - get a reference from this to the new layout. Then use vla-CopyFrom to duplicate the source onto the new.

    And then, definately as rkmcswain's stated, use fields to read the layout tab name in the TB itself.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  4. #4
    Active Member
    Join Date
    2005-09
    Posts
    68

    Default Re: auto number title blocks

    I see SSM alot but I'm not sure what it means. But I will try what yuo suggested

  5. #5
    Active Member
    Join Date
    2005-09
    Posts
    68

    Default Re: auto number title blocks

    Quote Originally Posted by irneb View Post
    Are you referring to a command which copies the Layout as a new one, then renames it to the incremented drawing number? I'd suggest obtaining a vlax link to the Layouts collection as well as the source layout. Get the source's name, then using (substr (atoi (+ (itoa and (strcat get the next number. Then using vla-Add on the Layouts collection add the new number as a layout into the Layouts collection - get a reference from this to the new layout. Then use vla-CopyFrom to duplicate the source onto the new.

    And then, definately as rkmcswain's stated, use fields to read the layout tab name in the TB itself.
    Yes, That's what I was I was planning on doing.

  6. #6
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,344

    Default Re: auto number title blocks

    SSM stands for Sheet Set Manager. It can definitely save you a lot of time when working with numerous drawings per project.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

Similar Threads

  1. Auto number attribute lisp fix
    By Zuke in forum AutoLISP
    Replies: 71
    Last Post: 2011-10-11, 04:26 PM
  2. Auto number multiple Block Attributes [Idiot's guide please...]
    By emailsam in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2010-10-25, 11:56 PM
  3. Auto-Number with Grids
    By simon.perkins in forum AutoLISP
    Replies: 3
    Last Post: 2009-08-18, 10:48 AM
  4. Replies: 6
    Last Post: 2007-05-23, 05:18 PM
  5. Auto Re-Number Door/Window Tag V9.0
    By Firmso in forum Revit Architecture - General
    Replies: 3
    Last Post: 2007-04-18, 04:05 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
  •