---
title: "save method"
url: "https://reference.aspose.com/cad/python-net/aspose.cad/datastreamsupporter/save/"
product: "Aspose.CAD for Python via .NET API References"
---


## save {#}

Saves the object's data to the current [`DataStreamSupporter`](/cad/python-net/aspose.cad/datastreamsupporter).



```python
def save(self):
    ...
```




## save {#io.RawIOBase}

Saves the object's data to the specified stream.



```python
def save(self, stream):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| stream | io.RawIOBase | The stream to save the object's data to. |


## save {#str}

Saves the object's data to the specified file location.



```python
def save(self, file_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_path | str | The file path to save the object's data to. |


## save {#str-bool}

Saves the object's data to the specified file location.



```python
def save(self, file_path, over_write):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_path | str | The file path to save the object's data to. |
| over_write | bool | if set to `true` over write the file contents, otherwise append will occur. |



### See Also
* module [`aspose.cad`](../../)
* class [`DataStreamSupporter`](/cad/python-net/aspose.cad/datastreamsupporter)
