set the document when creating Arcs, Lines and Splines