Support Forum

how to change dataunit

Friday 24th February 2023
I would like to change the database unit for a gds file. Is there an api equivalent to utilities > Design > database units ? (I can't find it in the API documentation.)
Friday 24th February 2023
Yes, there is: ``` // to set databaseunits to nm: layout->drawing->databaseunits=1E-9; ```