If you created or imported geometry and want to resize the stock automatically:
Bring up the stock property dialog box by either double clicking the stock or selecting the stock and clicking the Properties button.
Click on the Resize button.
Follow the instructions in the Stock dimensions dialog box.