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


## try_get_value {#str-any}

Gets the entry soft owner by key.


### Returns 


true if dictionary contains the key otherwise false


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


| Parameter | Type | Description |
| :- | :- | :- |
| key | str | The key. |
| value | any | The parameter. |


## try_get_value {#str-any-any}

Gets the entry soft owner by key.


### Returns 


true if dictionary contains the key otherwise false


```python
def try_get_value(self, key, attr, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| key | str | The key. |
| attr | any | The attribute. |
| value | any | The parameter. |



### See Also
* module [`aspose.cad.fileformats.cad.cadobjects.dictionary`](../../)
* class [`CadDictionaryBase`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects.dictionary/caddictionarybase)
