I am searching for a method to filter out all elements in which users are not allowed to change the value. For example, the curtain panels and mullions have parameter Workset value defined. These can be read and Revit reports them to have User Workset value defined. Meanwhile in the properties window, these parameters are grayed out. The values are modified by Revit when the Curtain Wall's Workset is changed by user.
So I can see Revit is putting restriction based on something. I want to find out what that something is. What is the logic that I can use for searching all of these types of restricted elements so that I don't attempt to change their Worksets using API. Please advise.