there is a typo in P136 of User Guide 5.26 (Pdf version). The title of this part is “Programmatically”, which talks
about how to copy and past the four pads from the command line…
The 3rd cmd:
“root surfaces->cd(1)” should be “root surfopt->cd(1)” according to the draw2dopt.C.