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: 

Create/Assign custom made warnings

9 ANTWORTEN 9
GELÖST
Antworten
Nachricht 1 von 10
Anonymous
1759 Aufrufe, 9 Antworten

Create/Assign custom made warnings

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

Tags (2)
9 ANTWORTEN 9
Nachricht 2 von 10
Ilic.Andrej
als Antwort auf: Anonymous

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

Nachricht 3 von 10
Anonymous
als Antwort auf: Ilic.Andrej

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

Nachricht 4 von 10
Ilic.Andrej
als Antwort auf: Anonymous

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

Nachricht 5 von 10
ToanDN
als Antwort auf: Anonymous


@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.

Nachricht 6 von 10
barthbradley
als Antwort auf: ToanDN

#$@&%*!  usually get's their attention. 

Nachricht 7 von 10
Anonymous
als Antwort auf: ToanDN

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

Nachricht 8 von 10
Ilic.Andrej
als Antwort auf: Anonymous

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

Nachricht 9 von 10
Anonymous
als Antwort auf: Ilic.Andrej

Thank you!! I will have a look into it!

Best regards,

Tor Tollnes
Nachricht 10 von 10
sals1
als Antwort auf: Anonymous

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