Home Forums Nazca Arrows removing

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6860
    Wook
    Participant

    Dear all,

    When I drew structures, I had to see arrows between structures in layer 1001.

    I have tried to remove the arrows using put_stub options such as pinshow and pinlayer but I was not able to remove.

    When I imported cells from other GDS files, the cells located in layer 1001, so that I cannot remove the layer 1001.

    Could you please let me know how to erase the arrows? (or how to change cell layers of imported cells from other GDS files)

     

    #6879
    StefvU
    Participant

    Dear Wook,

    When I drew structures, I had to see arrows between structures in layer 1001.

    If you want to edit the arrow of a certain interconnect, you can do that creating a new pinstyle and by replacing the “pinstyle” and “arrow” attributes of the interconnect you want to use.

    An example:

    import nazca as nd
    from nazca import demofab as pdk
    
    # Define your new pinstyle and arrow
    styledict = {
    "layer": (1002, 0),
    "annotation_layer": (1002, 1),
    }
    nd.add_pinstyle(name="mystyle", styledict=styledict)
    new_arrow = nd.bb_util.make_pincell(style="mystyle")
    
    # Apply your new pinstyle to an Interconnect
    ic = pdk.deep
    ic.pinstyle = "mystyle"
    ic.arrow = new_arrow

    If you instead want to remap the 1001 layer to another layer when importing GDS files, you can use the “layermap” attribute of the “load_gds” function.

     

    • This reply was modified 2 years, 5 months ago by StefvU.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.