2024 Method
Changes 0
M

GlobalParametersManager.MoveParameterDownOrder

Description:
Moves given paramerer Down in the current order.
Remarks:

A parameter can only be moved within its parameter group, meaning that repeated moving a parameter will not push the parameter out of and into the next (in order) parameter group. When a parameter can no longer move because it is at the boundary of its group, this method returns False.

This operation has no effect on the global parameters themselves. The rearranged order is only visible 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 bool MoveParameterDownOrder(
	Document document,
	ElementId parameterId
)
Return Value bool Indicates whether the parameter could be moved Down in order or not.