Hello!
Is there any way to lock a parameter so that when eg. a room description is changed it automatically resets to default (nothing)?
Or is it possible to lock a parameter so that no one else can change it?
Thanks,
Linnea
Gelöst! Gehe zur Lösung
Gelöst von Alfredo_Medina. Gehe zur Lösung
It is possible to lock a parameter - check this box -
OR type in the desired value under Formula - in this case, the dimension will stay locked at 60"
OR
Control the values in multiple families using Global Parameters
No, that "Lock" does not lock the value of a parameter.
What the user wants to do is not possible. An approximation would be to set the value of a parameter equal to a formula, but the user can open the family and modify that, too.
... I have said before how amazing will be if we can get some kind of a password protected or similar thing to lock projects, families or anything inside REVIT.
aRcHiTeCt.JM
REVIT EXPERT ELITE
➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ is it working for you ? ➪ ⇩ 'Accept as solution' ⇩ ⇦
@Anonymous wrote:Hello!
Is there any way to lock a parameter so that when eg. a room description is changed it automatically resets to default (nothing)?
Or is it possible to lock a parameter so that no one else can change it?
Thanks,
Linnea
Interesting question ... and answers from our experts. My response would have been; "Depends", because I do lock parameters so that no one else can change it. And, I use formula-driven parameters that evaluate a condition and return a value based on the condition being true or false.
Hi
There are multiple ways to use Parameter and trick is which parameter to use and
how to insert modified family without affecting those parameters.
1. Type Parameter - this can be fixed per types of particular family.
2. Instance parameter - these can be modified in the project...
after making changes, and while reloading the family... Revit gives two options.
1. First as shown, keeps the instance parameters unchanged.. and does not reset the entire family .
2. But the second option will reset the entire family with values of parameters shown in the family.
Always chose option 1, if there are minor changes.. and keep a track of nested families and their parameter
Ex
Main family
( Type Parameter )
a. Fixed
b. Fixed + Locked
c. Can be a Calculated
( Instance Parameter )
a. Can be changed in the project
b. Calculated using two or more Type Parameters
and same applies to NESTED Families further down...
Best luck.
"Or is it possible to lock a parameter so that no one else can change it? "
for this, that parameter should be Type Parameter with actual value given and locked..
one more level up, one can have another type parameter connected to the original one..
Ex
height = Height A
Height A = 700mm and ( Locked ) ( type parameter )
this way, first parameter cannot be changed that easily...
Best way is just to have a parameter name suggesting its a FIXED Value
ex: FIXED HEIGHT = 700mm.... and family name suggesting the same..
@ToanDN wrote:
@barthbradley wrote:
Depends.
Depends?
I was answering this question of yours, @ToanDN:
@ToanDN wrote:
Can any of the solutions offered in this thread "lock a parameter so that when a Room Description is changed it automatically resets to default (nothing)"?
The answer to your question is "Depends". Plain and simple. Where is "Room Description" coming from? Besides, the OP used "Room Description" as an "e.g.". He's wondering about the overall concept. That's my takeaway. The answer to his question -- as he worded it -- is: "IT DEPENDS". It not a question that can be emphatically answered "Yes" or "No". IMHO.
@barthbradley wrote:
@I'm outta here. Going over to the Archicad Forum.
Archicad?
.... I know
... I feel your pain
.... but so far there is nothing to really do about that
.... maybe in the future
aRcHiTeCt.JM
REVIT EXPERT ELITE
➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ ➪ is it working for you ? ➪ ⇩ 'Accept as solution' ⇩ ⇦
@barthbradley - ARCHICAD???
Traitor!!
![]()
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.