Hi!
I want to make on-screen warnings related to formulas in families I make.
Previously I have made warnings via formula-driven labels within families.
But I want the warning to appear like they do in Reivt - Warning - Can be ignored/Cannot be ignored.
This is to give instant feedback to our 240 students on the building engineering studies at Oslo Metropolitan University - OsloMet. Then we can use Revit to teach them building professions as they model, e.g. if beams are too long, rooms are to small or narrow, and so forth.
Is it possible to make that kind of warnings myself?
Thanks in advance,
Tor Tollnes, senior engineer
Gelöst! Gehe zur Lösung
Gelöst von Ilic.Andrej. Gehe zur Lösung
Hello,
You can nest a generic annotation and then constrain its visibility with a parameter which has a formula assigned to it. But this works in loadable families....
Try with Dynamo
Andrej Ilić
phonetical: ændreɪ ilich
MSc Arch
Autodesk Expert Elite Alumni
If this is possible, you need to access the list of Revit Warnings. I don't have time to research. See if this helps https://www.youtube.com/watch?time_continue=3&v=mxjeEhj2KV4
Andrej Ilić
phonetical: ændreɪ ilich
MSc Arch
Autodesk Expert Elite Alumni
@Anonymous wrote:
Hi!
Thank you, that is what I have been doing so far.
I really want to take it one step further into creating a standard Revit warning like those who shows in a separate window, and possibly cannot be ignored.
This is to stop my students the moment they're modelling something that is not buildable. The intention is to give them a warning they cannot ignore, and tell them which action to take.
Is it possible to make?
Best regards,
Tor Tollnes
I would separate Revit warnings from your warnings because they are for different things. Revit warnings are for technical issues and yours are for code/ordinance violations. Plus, when you update to another Revit version you will have to hack it again.
Keep it simple by a custom text/label, add strong colors, violent graphics, nasty language if you want to get the point across more effectively.
Thank you!
My original plan was doing as you say, and possibly that is the best solution.
So, if I make a custom made warning with dynamo, I will have to remake it with every new version of Revit?
Tor Tollnes
That depends on the new Revit version. If this is really what you want, just make it. When you update to new version, test. You want to access the warnings- maybe it wont be changed....
I'm not a fan of Dynamo. Maybe some day I'll find time to learn c# basics and the API guide. People who use it have the power. Check out this thread - http://archi-lab.net/how-to-maintain-revit-plug-ins-for-multiple-versions/
Maybe you have some friends who are programmers? You can do what you can with dynamo and ask them for help. The code can be adapted for new versions.
Andrej Ilić
phonetical: ændreɪ ilich
MSc Arch
Autodesk Expert Elite Alumni
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.