2022 Method
Changes 0
M

GlobalParametersManager.GetGlobalParametersOrdered

Description:
Returns all global paramters in an ordered array.
Remarks:

The order of the items coresponds to the order at which global parameters appear in Revit UI when shown in the standard Global Parameters dialog. However, the order of parameters is serialized in the document, thus available on the DB level as well.

public static IList<ElementId> GetGlobalParametersOrdered(
	Document document
)
Return Value IList<ElementId> An array of Element Ids of all Global Parameters in the document.