TRIM EXTEND AND ERASE are Modify Commands in AUTOCAD.With Trim command the user can delete erase the unwanted parts of the figure while with Erase command the complete figure of big entity is deleted.Extend command is used to extend the suitable entity to the particular entity of the figure.