
## CadBlockDictionary class

CAD blocks collection



**Inheritance:** [`CadBlockDictionary`](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary) → 
[`NonGenericDictionary`](/cad/python-net/aspose.cad/nongenericdictionary)



The CadBlockDictionary type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/__init__/#) | Initializes a new instance of the [`CadBlockDictionary`](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary) class. |


### Properties
| Property | Description |
| :- | :- |
| [is_fixed_size](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/is_fixed_size) | Gets a value indicating whether the <br/>IDictionary object has a fixed size. |
| [is_read_only](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/is_read_only) | Gets a value indicating whether the <br/>IDictionary object is read-only. |
| [keys](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/keys) | Gets an <br/>ICollection object containing the keys of the <br/>IDictionary object. |
| [values](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/values) | Gets an <br/>ICollection object containing the values in the <br/>IDictionary object. |
| [keys_typed](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/keys_typed) | Gets the strongly typed collection of keys. |
| [values_typed](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/values_typed) | Gets the strongly typed values collection. |


### Methods
| Method | Description |
| :- | :- |
| [remove](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/remove/#str) | Removes the [`CadBlockEntity`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadblockentity) with the specified key. |
| [remove](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/remove/#any) | Removes the element with the specified key from the <br/>IDictionary object. |
| [add](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/add/#str-aspose.cad.fileformats.cad.cadobjects.CadBlockEntity) | Adds a [`CadBlockEntity`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadblockentity) to the dictionary. |
| [add](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/add/#any-any) | Adds an element with the provided key and value to the <br/>IDictionary object. |
| [clear](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/clear/#) | Removes all elements from the <br/>IDictionary object. |
| [contains_key](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/contains_key/#str) | Determines whether [`CadBlockEntity`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadblockentity) contained within this dictionary. |
| [try_get_value](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/try_get_value/#str-any) | Gets the value associated with the specified key. |
| [clone](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary/clone/#) | Clones the dictionary. |



### See Also
* module [`aspose.cad.fileformats.cad`](..)
* class [`CadBlockDictionary`](/cad/python-net/aspose.cad.fileformats.cad/cadblockdictionary)
* class [`CadBlockEntity`](/cad/python-net/aspose.cad.fileformats.cad.cadobjects/cadblockentity)
* class [`NonGenericDictionary`](/cad/python-net/aspose.cad/nongenericdictionary)
