
## remove_object {#aspose.cad.fileformats.cad.cadobjects.CadBaseObject}

Removes enity.



```python
def remove_object(self, obj):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| obj | aspose.cad.fileformats.cad.cadobjects.CadBaseObject | Object to remove. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentNullException | Thrown when object is null |
| NotSupportedException | Thrown if removing of the current object is not implemented |





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