Element.GetOrderedParameters
Method
Description:
Gets the parameters associated to the element in order.
Gets the parameters associated to the element in order.
Remarks:
The collection consists of only visible parameters associated to the element; it returns a different list than Element.Parameters.
The parameters are returned in the order in which they appear in the Revit UI within a given group; however, parameters of different groups may be mixed within this output.
Currently the Revit UI order is determined first by group and next by the order of the individual parameters.