add_entity method

add_entity

Adds entity.

def add_entity(self, entity):
    ...
ParameterTypeDescription
entityaspose.cad.fileformats.cad.cadobjects.CadBaseEntityEntity to add.

Exceptions

ExceptionDescription
ArgumentNullExceptionThrown when entity is null
InvalidOperationExceptionThrown if the current entity has been added before
NotSupportedExceptionThrown if adding of the current entity is not implemented

See Also