Adding parameter to titleblock to hide or change text

Adding parameter to titleblock to hide or change text

michaelabman456
Explorer Explorer
2,200 Views
11 Replies
Message 1 of 12

Adding parameter to titleblock to hide or change text

michaelabman456
Explorer
Explorer

Just wondering how to go about adding a parameter to my titleblock text ( For Construction / Not For Construction) so I can check a box in the project to change the "Not for Construction" text to "For Construction"

 

Thanks!

0 Likes
Accepted solutions (1)
2,201 Views
11 Replies
Replies (11)
Message 2 of 12

SteveKStafford
Mentor
Mentor

The text has a visible parameter you can associate with a Yes/No parameter. Select the text element and look for the small gray button on the right side of the Visible property. That's the Associate Parameter button that will open a dialog and let you assign and/or create a parameter to control it.


Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
EESignature

0 Likes
Message 3 of 12

michaelabman456
Explorer
Explorer

Yes, I've tried that already but I want to make the text change with the parameter. 

So when its checked it says something different than when not checked, if that makes sense.

0 Likes
Message 4 of 12

SteveKStafford
Mentor
Mentor

You could use two different text elements that have something different written in them. Assign them to two parameter and toggle them on/off. You could also create a Label (a family you load into the TB) and then use additional parameters to control what the text in the label should be.


Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
EESignature

Message 5 of 12

Mike.FORM
Advisor
Advisor

As @SteveKStafford said you can nest a generic annotation family containing a label into your titleblock family.

You can then associate a parameter in the titleblock family to the text parameter of the label in the nested annotation family.

You can also add a parameter to the visibility of the annotation family.

 

One note is that the label has to be part of a nested Annotation family for this to work.

Any labels created in the titleblock family itself can only be assigned with the default built-in parameters and shared parameters.

 

At our office we just have 2 Text Boxes that say "For Reference Only" and "Not for Construction" and then just use a visibility instance parameter to turn them on or off.

MikeFORM_0-1709930231262.png

 

0 Likes
Message 6 of 12

ToanDN
Consultant
Consultant
Accepted solution

Use the example formula below for your text parameter:

 

if (YN parameter, "WRITE SOMETHING", "WRITE SOMETHING ELSE")

 

When the YN is check, the text is SAY SONETHING, when YN is not checked, the text is SAY SOMTHING ELSE.

Message 7 of 12

Mark_Engwirda
Collaborator
Collaborator

@ToanDN  Yes, all done in the one step 🙂

0 Likes
Message 8 of 12

arch44
Explorer
Explorer

Hi all, i'm looking help on a similar issue, but i'm not proficient enough. I'd like to have a sheet option to control visibility of a text note and north arrow too. I made it work for sheet itself, but want select several sheets and modify that visibility at once via properties palete. I did it for a text label to edit phase name manually for selected sheets, with a shared parameter, but i'm not getting how to achieve it in terms of visibility. I follow the same steps but didn't work.

0 Likes
Message 9 of 12

Mike.FORM
Advisor
Advisor

Because you are trying to control a parameter that is part of the titleblock and not the sheet itself, the easiest way is to open one of you sheets, select the titleblock, do a right click to open the context menu and the do a select all in project. Then click the visibility parameter on or off.

 

If you want to change the parameter for only a few of you sheets and not all of them you will need to just do it one by one on each sheet.

0 Likes
Message 10 of 12

arch44
Explorer
Explorer

Thanks for kind reply, but i still can't understand... as i said, i created a sheet option that allows to manually write the phase name, and i can select some sheets and do it at once, because on the properties palette the common options can be editable. For that, i created a label in titleblock family associated with a shared parameter, and then in the project i created a sheet project parameter choosing that shared parameter. I think the problem, beside i'm a nullity in parameters, is that a shared parameter can not be just a visibility option... Another solution is have different titleblocks, one with north arrow, another with north and notes, another only with notes, but this is frustrating... 

0 Likes
Message 11 of 12

Mike.FORM
Advisor
Advisor

Shared parameters can be Yes/No parameters if you select that option. You do not need a shared parameter though unless you want the same parameter used in multiple different titleblock families.

MikeFORM_0-1717172693098.png

If you want to have it so the yes/no is assigned to the properties of a sheet you need to create a project parameter in the project and assign the shared parameter to that project parameter. Then you can assign it to the sheet category so that each sheet can be set individually. Then you can select the sheets in the project browser and see the yes/no parameters assigned to your different titleblock options.

MikeFORM_1-1717173008476.png

 

 

0 Likes
Message 12 of 12

arch44
Explorer
Explorer

That's what i did but didn't work, text note visibility does not respond when yes/no shared parameter created on sheet is unchecked, even trying make the text note via nested family in titleblock. So the solution was creating a label associated with a new shared parameter in titleblock, and then in project sheets, leave text blank when no note needed, but at least i can do it in several sheets at once.
I've tried with north arrow, but is not working either, i made the symbol, following tips in this forum and tutorials explaining how to do it as an instance field in each titleblock (but i thought could go a little further), imported it to the title block family, created a shared parameter angle to associate with north rotation, then in project follow as you described, and what i'm getting, in project, is each titleblock having his north angle field when selected, but correspond sheet also has, but the two are not connected, and only the one in titleblock changes the symbol angle. So, while being in a painful relation with parameters, i prefer to realize that i have to turn on/off north and copy paste the angle to each sheet.
I'm grateful anyway for your atention.

0 Likes