Returning value of : cell_name vs filename

Based on the documentation
https://www.klayout.de/doc-qt5/code/class_CellView.html#h2-138

 [const]    string  cell_name       Gets the name of the target cell currently addressed
 [const]    string  filename        Gets filename associated with the layout behind the cellview

pya.LayoutView().current().active_cellview().cell_name -> "test"
expected

pya.LayoutView().current().active_cellview().filename -> <built-in method filename of CellView object at 0x7f2ff9f280d0>
not what I expected !

both are '[const] string' should both return a string ?

However
pya.CellView().active().filename() -> test.GDS
does what I was expecting from
pya.LayoutView().current().active_cellview().filename

feature, bugs or missing something ?

Comments

  • Documentation problem, filename is not a string anymore

    Originally I did not tried this

    pya.LayoutView().current().active_cellview().filename()

    it works.

Sign In or Register to comment.