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


## add {#str-aspose.cad.fileformats.cad.cadobjects.CadLayout}

Adds a [`CadLayout`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadlayout) to the dictionary.



```python
def add(self, key, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| key | str | The [`CadLayout`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadlayout) key. |
| value | aspose.cad.fileformats.cad.cadobjects.CadLayout | The [`CadLayout`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadlayout) to add. |


## add {#any-any}

Adds an element with the provided key and value to the 
IDictionary object.



```python
def add(self, key, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| key | any | The <br/>Object to use as the key of the element to add. |
| value | any | The <br/>Object to use as the value of the element to add. |



### See Also
* module [`aspose.cad.fileformats.cad`](../../)
* class [`CadLayout`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadlayout)
* class [`CadLayoutDictionary`](/cad/python-net/aspose.cad.fileformats.cad/cadlayoutdictionary)
