I have created a family comprising several labels and text notes, and there are yes/no parameters controlling the visibility of the text notes. I'm trying to find a way to create a yes/no parameter that can turn the entire family on or off at once. I've tried writing an if statement but that just binds all of the individual commands to the family visibility parameters which then defeats the point of being able to turn certain parts on or off.
Gelöst! Gehe zur Lösung
Gelöst von barthbradley. Gehe zur Lösung
If that family is nested into another, then it can be turned on or off easily. Then, to control the individual options, associate the visibility parameters from the nested family with equivalent parameters in the host.
By the way, it is not necessary to include 1=0 nor 1=1 (or similar) in an IF statement.
I'm a little confused. Can you post the family? That might help us to help you.
The family is attached. I have a bunch of visibility switches for individual parts of the family, and now I want to create a master switch that controls the entire family. If that makes more sense.
I would take @Alfredo_Medina approach to create new generic annotation family and insert the existing to new family. Then you will have the visibility parameter that will turn ON/OFF your nested family. The only downside is you have to link the parameter of the nested family with the new generic annotation family.
If I do that, will it still be possible to enter all of the information into the family properties when it's nested like that or would you then have to go into the family editor to fill out the notes?
If the all the nested parameter is link to the new generic annotation family, then you wouldn't need to add those info into the nested family.
I can't nest the family, though, because then it isn't possible to enter all the information into the properties for the family which is how it gets filled out.
You have to click on this to add to the current generic annotation parameter. See sample family to see how it is done
I'm still not clear. This is a Generic Annotation Family. Generic Annotations only show up in the View/Sheet they are placed in. Sounds like you are wanting to hide the entire family in the View/Sheet. Why place it in that View/Sheet at all then? Still, there's always Hide by Element/Filter. Additionally, if you want to manage each individual one in the Project, it might be easier via a Note Block Schedule. Maybe that's your intention. Just throwing it out there.
I want it to be occasionally invisible on sheet view because sometimes those notes are already filled out and on the sheet when I am printing to PDF. Sometimes, when printing, I want the family to be visible and sometimes invisible. I know this can be done with temporary hide/isolate or hide in view, but I was trying to find a way I could build this into the family I have created.
Is it possible to associate this filter with the family so that the filter shows up in the list when the family is inserted onto the sheet instead of having to create the filter on each sheet?
Depends; but you would need a Rule-Based Filter - not a Selection Set Filter.
No. I forgot we were talking annotations. Rule-Based won't work here.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.