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.)
Jürgen
LayoutEditorFull
Friday 24th February 2023
Yes, there is: https://layouteditor.org/layoutscript/api/drawingfield#58 ``` // to set databaseunits to nm: layout->drawing->databaseunits=1E-9; ```