It looks like you're new here. If you want to get involved, click one of these buttons!
Hi everyone,
I am currently working on a Python Macro that can receive probes for Nets or Cells from a Schematic Editor by the name specified in the netlist.
I am resolving the name using the .lvsdb and would theoretically only need to set the selection to the corresponding NetlistObjectsPath.
The documentation tells me that both selected_paths and current_path are setters (moving either one would work for my purpose).
Is there any workaround that would allow me to set the selected path in the Netlist Database Browser like a mouse click would without altering the C++ code?
Thank you very much in advance!
Comments
You mean, these attributes are getters and you need a setter?
Right now, there is no programmatic way to change them, but if you drop me a ticket on GitHub, I will consider that feature for the next minor release. I hope there are not too many loopholes to break the system - e.g. by passing invalid references.
Formally, also "db" should be a setter, but that requires more attributes - like the list of db's loaded (you can load multiple databases and switch between them).
Matthias
Hi Matthias,
thank you for your response and sorry for the typo!
Yes, the attributes are currently getters and a setter for the same attribute is what I would need.
I have opened the GitHub ticket.
The db setter already works great for me in my project.
Thank you!
Max