You can use the Inventor language for drawing simple spheres. I've attached a sample IV file. Refer to the Inventor Mentor for the programming manual for the Inventor language. I've found that searching the web for Inventor IV files is a great way to find examples.
Updated October 10, 2016