It seems no direct example. But the website mentions:
The default database units are in 0.1nm and the user units are microns
https://optics.ansys.com/hc/en-us/articles/360034927093-gdsopen-Script-command
"userUnit" should be the unit you use, and "dataBaseUnit" should be the unit when the GDS is created. You can create a rectangle of 1um and see the result.