hidden parameter

hidden parameter

Anonymous
7,420 Views
2 Replies
Message 1 of 3

hidden parameter

Anonymous
Not applicable
Hi,

is it possible to add a hidden parameter to either a family or a type within a family. If that is not possible can you add a parameter that you cannot edit from within revit?

much appreciated
0 Likes
Accepted solutions (1)
7,421 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution
Shared parameters have a "visible" property (defaults to 1 = visible). You could set this to 0 but that requires modifying the shared parameters file manually, which is NOT recommended. (I have not tried changing this value and observing the results myself)

Otherwise, what some people do is put the parameter in the "Other" group in the family (down at the bottom) to help get it more out of sight, and then put a formula on it to "lock" it so it can't be changed in the project editor.

For example:

Name: My Length Parameter
Formula: If(1=1, 17 cm, 0 cm)

Name: My Text Parameter
Formula: "Hello, World"

Name: My YesNo Parameter
Formula: 1=1
or
Formula: 1=0


A caveat to that is that I believe a formula applies to all types, and a formula-locked parameter cannot have its value set when using a type catalog.


HTH.
0 Likes
Message 3 of 3

Anonymous
Not applicable

I know this is an old post, and I have found a way to edit shared parameters manually but not having any luck with un-hiding a hidden parameter. 

I uploaded my door family so you can have a look. I'm trying to add a shared parameter "door number" which revit tells me already exists. But in the family types it appears no such label parameter is there. Is there a bug in the family?