> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# reorder_plies

## ModelingGroup.reorder\_plies(source, target, option='after', reverse: bool = False)

Reorder the ply group. Take source plies and insert before/after target ply. If the ModelingGroup itself is
specified as a target, then the modeling plies retain their original global ply number.

### Parameters

* source: List of plies to insert at new position.
* target: Position to insert plies. Valid options are modeling group and sequence entity.
* option: Where to insert: after (default), before, end (for SequenceEntity targets), or keep (for
  : ModelingGroup targets).
  * after: Paste right after the target.
  * before: Paste right before the target.
  * end: Paste at the end of the ModelingGroup containing target.
  * keep: Keep the previous global\_ply\_nr (only works for move, and when target is a ModelingGroup).
* reverse: If True, reverse the order of imported plies.
