Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Photonics gdsopen command using ‘userUnit’ Reply To: gdsopen command using ‘userUnit’

Balasubramanian Malayappan
Subscriber

I understand that gdsopen is used to create a gds file and also its handle. Following is the command I gave as the input as I want the user unit to be micron and the gds database unit as 5 nm. The resultant error message is ": in gdsopen: argument 2 must be one of scalar matrix"

f = gdsopen('test.gds','1e-6','0.005e-6');

How to assign the unit to each parameter individually?

I do not see any command (other than gdsopen) in the Lumerical script by which the properties for the entire gds file can be modified.

[bingo_chatbox]