I have a question about using API Parameters command. While testing the sample code "FireRating" in the revit SDK file, I notice that every time the "ApplyParameter" is executed, it create a new parameter name "Fire Rating" to all the doors.
The problem is revit doesn't care if the parameter is there or not, so every time time the command is executed, a new parameter is created. So my question is; is there a way to make revit actually do a test for the existing of the parameter first, and than either create a new one or just update the value. Thanks in advance.