| Author |
Message |
pdiemer
Guest
|
Posted:
Thu Oct 21, 2004 11:07 pm Post subject:
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?
|
|
| Back to top |
|
 |
John Michalik
Guest
|
Posted:
Thu Oct 21, 2004 11:18 pm Post subject:
Re: Automatic Text in Layout |
|
|
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@jiveforum1.autodesk.com...
| Quote: | 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.
|
|
| Back to top |
|
 |
C Witt
Guest
|
Posted:
Thu Oct 21, 2004 11:52 pm Post subject:
Re: Automatic Text in Layout |
|
|
if you are using 2k5, i suggest you look into fields
pdiemer wrote:
| Quote: | 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? |
|
|
| Back to top |
|
 |
pdiemer
Guest
|
Posted:
Fri Oct 22, 2004 12:28 am Post subject:
Re: Automatic Text in Layout |
|
|
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? |
|
| Back to top |
|
 |
John Michalik
Guest
|
Posted:
Fri Oct 22, 2004 12:34 am Post subject:
Re: Automatic Text in Layout |
|
|
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@jiveforum1.autodesk.com...
| Quote: | 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.
|
|
| Back to top |
|
 |
chrisb
Guest
|
Posted:
Fri Oct 22, 2004 1:02 am Post subject:
Re: Automatic Text in Layout |
|
|
<<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. |
|
| Back to top |
|
 |
chrisb
Guest
|
Posted:
Fri Oct 22, 2004 1:05 am Post subject:
Re: Automatic Text in Layout |
|
|
| 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. |
|
| Back to top |
|
 |
chrisb
Guest
|
Posted:
Fri Oct 22, 2004 1:07 am Post subject:
Re: Automatic Text in Layout |
|
|
| -I also don't know what the word "abrogation" means - but the spell checker seemed to know. I meant to type "abbreviation". |
|
| Back to top |
|
 |
pdiemer
Guest
|
Posted:
Fri Oct 22, 2004 1:21 am Post subject:
Re: Automatic Text in Layout |
|
|
| 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. |
|
| Back to top |
|
 |
John Michalik
Guest
|
Posted:
Fri Oct 22, 2004 2:36 am Post subject:
Re: Automatic Text in Layout |
|
|
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@jiveforum1.autodesk.com...
| Quote: | -I also don't know what the word "abrogation" means - but the spell
checker seemed to know. I meant to type "abbreviation". |
|
|
| Back to top |
|
 |
chrisb
Guest
|
Posted:
Fri Oct 22, 2004 4:42 pm Post subject:
Re: Automatic Text in Layout |
|
|
| 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. |
|
| Back to top |
|
 |
|
|
|
|