ZBrushCentral

"question:" how to resize current object to fit document ?

hi all , I am new to zbrush. I need to write a script to select the current subtool , make a stroke on canvas to create an object , and then resize the object to fit the document width and height . And finally export the canvas to an image PSD file. ( I am trying to create a catalog of all the zbrush tools so coworkers can preview )

Can it be done in script ?

So far I can script to resize a document to a known width and height . I can select the current tool . But how do script a stroke to create an object that will fit inside the document ?

Thanks in advance.