add_object method
add_object
Adds enity.
def add_object(self, obj):
    ...
| Parameter | Type | Description | 
|---|---|---|
| obj | aspose.cad.fileformats.cad.cadobjects.CadBaseObject | Object to add. | 
Exceptions
| Exception | Description | 
|---|---|
| ArgumentNullException | Thrown when object is null | 
| InvalidOperationException | Thrown if the current object has been added before | 
| NotSupportedException | Thrown if adding of the current object is not implemented | 
See Also
- module 
aspose.cad.fileformats.cad - class 
DxfImage