<@U01CZH7JG2G>: If you have a .mag file, then in ...
# magic
t
@User: If you have a .mag file, then in magic just load the top level cell and do "gds write <filename>".