Guilin Sun
Ansys Employee

The error message suggests to assign a number, not quoted. 

Since the website does not give an example using them, I would suggest to use the online example script to assign the unit to each parameter individually. " gdsopen" is only used to open a gds file handle.