
## get_shape(name) {#str}

Gets the element at the specified name.

### Returns 





```python
def get_shape(self, name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| name | str |  |


## get_shape(id) {#int}

Gets the element at the specified ID.

### Returns 





```python
def get_shape(self, id):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| id | int |  |



### See Also
* module [aspose.diagram](../../)
* class [ShapeCollection](/diagram/python-net/aspose.diagram/shapecollection)
