Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

YesNo parameter as project parameter

13 ANTWORTEN 13
GELÖST
Antworten
Nachricht 1 von 14
ysautodesklover
2236 Aufrufe, 13 Antworten

YesNo parameter as project parameter

Hi Revit Users,

Just quick question....

 

Why Yes/No Parameter doesn't allow me to change the check

despite the one set in the family is changeable?

 

YesNoParameter.JPG

I would appreciate if you help me to understand about this difference.

 

Thanks,

 

Yuki 

13 ANTWORTEN 13
Nachricht 2 von 14
barthbradley
als Antwort auf: ysautodesklover

Are you saying the one on the bottom can't be changed? It looks like it's locked via a formula.   

 

YN.png

Nachricht 3 von 14
ysautodesklover
als Antwort auf: barthbradley

Hi @barthbradley 

It looks like so but it was created as a project parameter.

Neither I set it as project "instance" parameter or "type" parameter, I am not allowed to uncheck it...

Since it is not able to change in Family Editor, I have no way to add the formula in the first place.

キャプチャ2.JPGキャプチャ.JPG

Nachricht 4 von 14
barthbradley
als Antwort auf: ysautodesklover

Strange. If you applied it as a project parameter to door category, it should be selectable. The initial state will be gray like it is showing, which means it's inactive (=NULL), but you should be able to activate it by checking on it to make it On or Off.  This will remove its gray inactive state.  

 

...I'm noticing something not right in your picture. Your picture shows the Instance Properties for the Door, yet Project Parameter you are showing is a Type Parameter. Additionally, the Door Category is not even checked in the Project Properties.  What gives?  

Nachricht 5 von 14
barthbradley
als Antwort auf: ysautodesklover

...I'll tell you what I think.  "Yes/No in Project" is an Instance Parameter in the actual Door Family.  There is no correlation between the Project's "Yes/No in Project" parameter and the Family's "Yes/No in Project" parameter.  Additionally, I'm going back to my original assertion: the "Yes/No in Project" parameter in the Family is controlled by a formula.  

 

That's my final answer. Do I win?  

 

 

 

 

Nachricht 6 von 14
ysautodesklover
als Antwort auf: barthbradley

Um.... I am not convinced yet.

 

I added both instance and type parameters in Project and Family.

Only ones created in Project don't enable me to uncheck.

 

I am willing to add Yes/No Parameters in a project than into a family because I wanna link to text parameters after setting them as shared parameters.

I don't want to set these all parameters in each family but in a project or template.

 

I only test in construction template attached here.

I would be nice if you can check it.

Trial.JPG

 

 

Nachricht 7 von 14
ToanDN
als Antwort auf: ysautodesklover

Why did you add the parameter in both project and family?  It doesn't make any sense.  What is the purpose of the parameter so that we can give you a proper way to use it?

Nachricht 8 von 14
ToanDN
als Antwort auf: ysautodesklover

... and I can tick and untick your Project parameters just fine.  It is gray by default, meaning it is neither Yes nor No, you have to tick on it to change it to one or another.

 

Annotation 2018-12-18 224457.png

Nachricht 9 von 14
ysautodesklover
als Antwort auf: ToanDN

I am afraid to say but now I realised that I just have to click once...

 

Because it was grayed out I thought I cannot click it!!

@ToanDN @barthbradley I am deeply sorry about it.

 

And I am not adding into both, I was experiencing which place is better to add the parameter, in a project or family. 

 

Thank you both for your time!!

 

Yuki

 

Nachricht 10 von 14
barthbradley
als Antwort auf: ysautodesklover


 

 



@ysautodesklover wrote:

 


@ToanDN @barthbradley I am deeply sorry

 


 

 

I would forgive you if I at least got a little green check mark for being right. But...

 

..whatever


 

 

Nachricht 11 von 14
ysautodesklover
als Antwort auf: barthbradley

Of course!

Thank you!!!

Nachricht 12 von 14
barthbradley
als Antwort auf: ysautodesklover

Smiley (überglücklich)

 

 

Nachricht 13 von 14
crapai
als Antwort auf: ToanDN

If it is neither yes nor no then does that mean it can't be used in filters that look for one of those values? I would assume it would default to no, but i'm not sure.

Nachricht 14 von 14
David_W_Koch
als Antwort auf: crapai


@crapai wrote:

If it is neither yes nor no then does that mean it can't be used in filters that look for one of those values? I would assume it would default to no, but i'm not sure.


 

No.  The initial value is "Null" and if you use a filter set to "equals" it will not equal either Yes or No.  You could filter for either Null or No by setting up the filter to be "does not equal" Yes.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report