Results 1 to 11 of 11

Thread: Automatic Text in Layout

  1. #1
    pdiemer Guest

    Automatic Text in Layout

    Can anyone tell me if it is possible to create text in a layout that will automatically update itself based on which layout this text is in? To clarify, I have a drawing with about 30 layouts, each layout will serve as a page # in the final drawing set. Towards project completion, the order of these layouts will change, a few layouts will be added and some will be deleted. Instead of manually editing the text in each layout each time we add or subtract a page, I would like to have these page #'s in our title block update themselves based upon the order in which they exist in respect to the rest of the layouts.

    Is this possible?

  2. #2
    John Michalik Guest
    Actually just saw some info. in the express tools newsgroup today that might
    get you where you want to be. Do a search for rtext. I saw a post from
    earlier in the year I believe it was regarding a very similar issue.

    --
    John Michalik
    Drafting and Design
    LDD/CAD Development & Standards
    johnm@weissereng.com
    "pdiemer" <nospam@address.withheld> wrote in message
    news:24974330.1098385693807.JavaMail.jive@jiveforu m1.autodesk.com...
    Can anyone tell me if it is possible to create text in a layout that will
    automatically update itself based on which layout this text is in? To
    clarify, I have a drawing with about 30 layouts, each layout will serve as a
    page # in the final drawing set. Towards project completion, the order of
    these layouts will change, a few layouts will be added and some will be
    deleted. Instead of manually editing the text in each layout each time we
    add or subtract a page, I would like to have these page #'s in our title
    block update themselves based upon the order in which they exist in respect
    to the rest of the layouts.
    Is this possible?

  3. #3
    C Witt Guest
    if you are using 2k5, i suggest you look into fields

    pdiemer wrote:
    Can anyone tell me if it is possible to create text in a layout that will automatically update itself based on which layout this text is in? To clarify, I have a drawing with about 30 layouts, each layout will serve as a page # in the final drawing set. Towards project completion, the order of these layouts will change, a few layouts will be added and some will be deleted. Instead of manually editing the text in each layout each time we add or subtract a page, I would like to have these page #'s in our title block update themselves based upon the order in which they exist in respect to the rest of the layouts.

    Is this possible?

  4. #4
    pdiemer Guest
    Thanks to you both. We are using R2002 so I'm not sure if the command "field" will work yet.

    As far as RTEXT, I haven't used that one but it looks like a very useful command. However, I can't find the variable that corresponds with layout number. CTAB seems to be the closest variable and that one give you layout name.

    Any other ideas?

  5. #5
    John Michalik Guest
    Sorry, none here. I was hoping you might find it under the previous posts.
    I saw comments about it, but really searching for a different rtext issue.
    Try posting the question under the AutoCAD Customization newsgroup. Someone
    may have done it already or know how.

    --
    John Michalik
    Drafting and Design
    LDD/CAD Development & Standards
    johnm@weissereng.com
    "pdiemer" <nospam@address.withheld> wrote in message
    news:15665880.1098390517878.JavaMail.jive@jiveforu m1.autodesk.com...
    Thanks to you both. We are using R2002 so I'm not sure if the command
    "field" will work yet.

    As far as RTEXT, I haven't used that one but it looks like a very useful
    command. However, I can't find the variable that corresponds with layout
    number. CTAB seems to be the closest variable and that one give you layout
    name.
    Any other ideas?

  6. #6
    chrisb Guest
    <<CTAB seems to be the closest variable and that one give you layout name.>>

    -How about renaming your layout tabs to read the way you want to see them in your title blocks -you know, like "Plumbing -Sht 1", or "Electrical - Shit 20" ? Then have the Rtext function as part of your titleblock text.

  7. #7
    chrisb Guest
    I'm not sure why those asterisks showed up in my 2nd example, but I think I must have accidentally put an "i" in my abrogation for "sheet". We can't have that, now -this is a very squeeky-clean support group.

  8. #8
    chrisb Guest
    -I also don't know what the word "abrogation" means - but the spell checker seemed to know. I meant to type "abbreviation".

  9. #9
    pdiemer Guest
    Your idea will work but it takes me away from having the drawing numbers update themselves when a sheet is added or deleted. If, for example, I needed to add a page 2, then I would have to go and rename all the layout tabs after sheet 2 in order to get "getvar, ctab" to work. Thanks for the idea though.

  10. #10
    John Michalik Guest
    May not solve o.p.'s problem, but thanks for the laugh.!

    --
    John Michalik
    Drafting and Design
    LDD/CAD Development & Standards
    johnm@weissereng.com
    "chrisb" <nospam@address.withheld> wrote in message
    news:8491580.1098392889891.JavaMail.jive@jiveforum 1.autodesk.com...
    -I also don't know what the word "abrogation" means - but the spell
    checker seemed to know. I meant to type "abbreviation".

  11. #11
    chrisb Guest
    I see what you mean. What you want, then, is going to have to involve some programming - not really all that much, but some. It could probably done in Vlisp, but don't ask me how - I'm an old AutoLisp hacker, but have not found the time to learn all the additional functions (like reactors) that are part of Visual Lisp.

Similar Threads

  1. Replies: 4
    Last Post: 09-21-2005, 01:10 AM
  2. Automatic drawing API.
    By in forum SolidWorks
    Replies: 4
    Last Post: 09-13-2005, 10:55 PM
  3. Automatic Text Size
    By dellboy in forum Customization
    Replies: 1
    Last Post: 03-04-2005, 12:09 PM
  4. Replies: 6
    Last Post: 01-31-2005, 05:41 PM
  5. automatic for the people :-)
    By ivana in forum AutoCAD
    Replies: 3
    Last Post: 01-10-2005, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum