> ## 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.

# ElementSet

### *class* compolyx.ElementSet(graph, obj=None, parent=None)

Element set class.

* **Exemplary usage:**
  ```python theme={null}
  >>> m=db.models.values()[-1]
  >>> eset=m.element_sets['DECK']
  >>> eset.modify(op='none')
  >>> eset.modify(op='new', element_labels=[1,2,3,4])
  >>> eset.modify(op='add', element_sets=[ m.element_sets['Deck_layup-1'] ])
  >>> eset.modify(op='intersect', x=[-6.5,-5.5])
  ```

### Attributes

| Name | Description |
| - | - |
| [`ElementSet.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.active) | Active status of object |
| [`ElementSet.boundaries`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.boundaries) | Get the boundaries of the element set |
| [`ElementSet.element_labels`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.element_labels) | |
| [`ElementSet.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.enabled) | Whether this object is currently enabled or not |
| [`ElementSet.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.id) | ID of object |
| [`ElementSet.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.is_dict_item) | Specifies whether the object is an item of a dict |
| [`ElementSet.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.is_list_item) | Specifies whether the object is an item of a list |
| [`ElementSet.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.link_path) | Root path of the current node in the tree for links to this object |
| [`ElementSet.locked`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.locked) | Element Set is imported and cannot be changed |
| [`ElementSet.middle_offset`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.middle_offset) | Middle offset flag |
| [`ElementSet.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.name) | Name of object |
| [`ElementSet.normals`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.normals) | Get the normals of the element set |
| [`ElementSet.orientable`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.orientable) | True if the element set has an orientable topology |
| [`ElementSet.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.parent) | Parent object in tree |
| [`ElementSet.planar`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.planar) | True if the element set has a planar topology |
| [`ElementSet.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.root_path) | Root path of the current node in the tree |
| [`ElementSet.size`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.size) | Number of entities |
| [`ElementSet.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.status) | Status of the object |
| [`ElementSet.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes |
| [`ElementSet.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.uid) | UID of object |
| [`ElementSet.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.vertex) | Throws an error if the object has been removed from the graph |

### Methods

| Name | Description |
| - | - |
| [`ElementSet.add`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.add)(entity) | Add entity to the set |
| [`ElementSet.clear`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.clear)() | |
| [`ElementSet.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.find_parent)(type) | Steps up the tree and returns the first parent with given type |
| [`ElementSet.get_short_description`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.get_short_description)() | |
| [`ElementSet.modify`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.modify)(\[op, element\_labels, ...]) | General method to modify the elements in an element set |
| [`ElementSet.obj_exists`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.obj_exists)() | Checks if \_\_obj still references the C++ object (i.e. has not been reset to None by self.\_delete) and exists in the graph |
| [`ElementSet.partition`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.partition)() | Partitions this ElementSet into new ElementSets with an orientable topology |
| [`ElementSet.remove`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.remove)(entity) | Remove entity from the set |
| [`ElementSet.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.serialize)() | Serialize to Python string |
| [`ElementSet.serialize_name_and_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.serialize_name_and_id)() | Helper function to serialize name and ID |
| [`ElementSet.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.update)() | |
| [`ElementSet.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.visit)(visitor) | Walk through the tree and let the visitor perform action on every descendant node |
| [`ElementSet.write_boundaries`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.ElementSet.write_boundaries)(filename\[, format]) | Write boundaries in .iges/.step format |
