
## remove_entity {#aspose.cad.fileformats.cad.cadobjects.CadBaseEntity}

Removes entity.



```python
def remove_entity(self, entity):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| entity | aspose.cad.fileformats.cad.cadobjects.CadBaseEntity | Entity to add. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentNullException | Thrown when entity is null |
| NotSupportedException | Thrown if removing of the current entity is not implemented |





### See Also
* module [`aspose.cad.fileformats.cad`](../../)
* class [`DxfImage`](/cad/python-net/aspose.cad.fileformats.cad/dxfimage)
