# DONUTOD System Variable [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [System Variables](Help%20System/GSTARCAD/2022/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2022/System%20Variables/D/(D).md) **Function Description:** The DONUTOD system variable is used to set the default outside of diameter for donuts. | | | | --- | --- | | Type | Real | | Saved in | Not saved | | Initial value | 1.0000 | This value can not be zero. If the value of DONUTID is larger than DONUTOD, they will exchange when running next command.