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 August 6, 2018