TheSwamp
CAD Forums => CAD General => Topic started by: Avanti on January 16, 2009, 08:03:46 AM
-
I'd really like to put a field in the names on my Layout Tabs, but I'm not a programmer so I don't even know where to begin. I'm sure it can be done but it'll take help from someone a lot sharper than me. :|
-
I am not sure you can put a field on the layout tab, but you can easily modify the tab name with a reactor based on the value a field might have.
Lets presume that you want the field to be the area of a hatch ... there are several ways to accomplish this
Set a reactor to fire whenever the drawing is issued a regen
Your reactor will find the hatch in question, return the area, formulate the string and update the layout tab
Of course identifying the hatch might be an issue, so the next alternative might be to set a dictionary value in the drawing that contains the handle of the hatch. It will make identification of the hatch simple, but not foolproof.
I think it could be done, but there would have to be some serious error checking
-
What data are you wanting to link to the layout name?
-
We number our pages 1 OF X, with X being the total number of pages. I want to update the total number of pages in one step. I've done it for my title blocks but I'd love to be able to fix the Layout Tabs at the same time. Is it possible?
Thanks,
Betty
-
You could put a custom field in Sheet Set Manager that holds the total number of sheets and then use a field to link to that.
-
You could put a custom field in Sheet Set Manager that holds the total number of sheets and then use a field to link to that.
That doesn't change the name of the layout though.
-
We number our pages 1 OF X, with X being the total number of pages. I want to update the total number of pages in one step. I've done it for my title blocks but I'd love to be able to fix the Layout Tabs at the same time. Is it possible?
As Keith said, you will need a custom program to programatically change the layout name.
-
You could put a custom field in Sheet Set Manager that holds the total number of sheets and then use a field to link to that.
That doesn't change the name of the layout though.
True, but it will keep the total number of sheets (unless they add/remove one or more, then that would have to be updated). :|