add_entity method
add_entity
Adds entity.
def add_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 |
InvalidOperationException | Thrown if the current entity has been added before |
NotSupportedException | Thrown if adding of the current entity is not implemented |
See Also
- module
aspose.cad.fileformats.cad
- class
DxfImage