public void ReorderParameters( IList<FamilyParameter> parameters )
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when argument is null or empty. |
| ArgumentException | Thrown when the input parameters collection does not contain the same parameters as those returned by GetParameters(). |
| InvalidOperationException | Thrown when this family is a Rebar Shape family which doesn't support parameters reorder. |
Reordering the parameters only affects visible parameters within the same parameter group.
Parameters that belong to different groups will remain separated, and the groups' order will not be affected.