in Revit, I can first use the filter to filter out the object I want, extract the attribute value I want, and change it. I am not familiar with viwer and only run through the official basic presentation process.
I want to check which api allows me to get specific objects in the model through the name, and to get a specific parameter value through the attribute name, and I can change it as shown below, or which examples can be seen.
I mainly use it to determine the display color of an object based on its numerical value.