Home Forums Nazca How to customize the top cell name

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6567
    davidshi2021
    Participant

    Hi, anyone could please help to tell me how to change the top cell name “nazca” to a different cell name? A default “nazca” cell name will be automatically created after “import nazca as nd” is executed. Thank you very much!

    Best regards,

    David

    #6569
    Ronald
    Keymaster

    Dear David,

    The advised way to export an explicit topcell is to specify it in export_gds() like

    import nazca as nd
    
    with nd.Cell("mycellname") as MYCELL:
        #stuff
    
    nd.export_gds(topcells=MYCELL)

    The keyword “topcells” can also take a list of cells, in such case effectively creating a gds library.

    It is possible to change the default “nazca” name, but there is no real need for that:
    nd.cfg.defaultcellname = "NAZCA"

    Ronald

    #6570
    davidshi2021
    Participant

    Ronald,

    Thank you very much for the clarification.

    Best regards,

    David

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.