Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Did you fill the parameter value or is it still blank?

Message 1 of 3
283 Views, 2 Replies

Did you fill the parameter value or is it still blank?

Prior to every synchronization we got to check if the parameter (of views or instances) was filled or not. If it's not, is there a way to remind user about it? Any recommendations/advice will be greatly appreciated.


PS: not a lot of API experience.

Tags (1)
Labels (1)
Message 2 of 3
in reply to: dem1st

The Revit API provides numerous events that you can subscribe to in order to be notified before a certain command is executed and certain operations take place. I am confident that you can find an event that you could use to analyse the model and the element properties to check whether all required information has been entered, and cancel the command execution otherwise.


Jeremy Tammik, Developer Advocacy and Support, The Building Coder, Autodesk Developer Network, ADN Open
Message 3 of 3
in reply to: dem1st



I solved a similar requirement before, but without using the Revit API. I created a filter that painted elements if a certain Parameter Value was blank. In that way, the users knew if they had to add value or not.  I think you could use this strategy for instance. That worked for us, maybe you could consider it as an alternative. 

Regarding the View parameters. Which kind of information do you need to add there? Maybe you can automate the process, leaving the responsibility to a command instead of the users. That could apply to both cases. 


I hope it helps, 

Kind regards.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Rail Community