CAD.OCX is an ActiveX Control written in Visual Basic 6.0 for doing things in AutoCAD like drawing lines, circles, arcs, rectangles, 3D spheres, 3D cones, and more. The program can also calculate the length or midpoint of a line, calculate the midpoint of an arc, convert radians to degrees and vice versa, send characters to the AutoCAD command prompt, add single and multiple lines of text to a drawing, add a new layer, calculate the slope and angle of a line, and switch to model and paper space.