LINE
Purpose: Draws a straight line between two points.
Syntax: LINE <start_point> <end_point>
Example: LINE 0,0 100,100
CIRCLE
Purpose: Creates a circle with a specified center point and radius.
Syntax: CIRCLE <center_point> <radius>
Example: CIRCLE 5,5 10
RECTANGLE
Purpose: Draws a rectangle defined by two corner points.
Syntax: RECTANGLE <corner1> <corner2>
Example: RECTANGLE 0,0 50,30
TEXT
Purpose: Adds text to the drawing at a specified point.
Syntax: TEXT <insertion_point> <text_string>
Example: TEXT 10,10 "AutoCAD"
DIMLINEAR
Purpose: Adds a linear dimension between two points.
Syntax: DIMLINEAR <start_point> <end_point>
Example: DIMLINEAR 0,0 100,0
Comments