    

 ## On this page

  

 

 # modify

 Last update: 16.07.2026 

<a id="compolyx.ElementSet.modify"></a>

## ElementSet.modify(op='new', element\_labels=None, element\_sets=None, x=None, y=None, z=None)

General method to modify the elements in an element set.

### Parameters

- op: Selection method. Valid options: new, add, remove, intersect, and inverse.
- element\_labels: List of element IDs.
- element\_sets: List of element sets.
- x: Min and max of x location.
- y: Min and max of y location.
- z: Min and max of z location.