I would like to select instances in a specific order and save the order. I want to use a bindkey which will help me select both in schematic or in layout to select instances in a specific order.
I was thinking if there is any method, that i can select instance in a particular order and save there db and width and length information, in required sequence.
The Forum Guidelines tell you not to cross-post in multiple forums, so please don't do that.
It's not that clear what you want - but can't you just do shift-left mouse click to add onto the selection one at a time, and then geGetSelSet() will return the objects in the order you want. If you want to get info about the selected instances, you could do:
or if you wanted to get the instance name, w and l properties, you could do:
instInfo=foreach(mapcar inst geGetSelSet() list(inst~>name inst~>w inst~>l))
In my case, that returns:
(("NM11" "1.2u" "280n") ("NM10" "1.2u" "280n") ("NM7" "1.2u" "280n") ("NM6" "1.2u" "280n"))
which was the order I selected them in.
I had this in my mind, but what i want is same bindkey for both schematic and layout.
ex : hiSetBindkey("Layout" "<key>s" "function()") & hiSetBindkey("Schematic" "<key>s" "function()")
so that i dont have to use different bindkeys for layout and schematic.
OK, so you know how to select things sequentially, you know how to print out information from the selected set, and you know how to define a bindkey - it's not clear (to me at least) what you still need to know?
A clear question is much more likely to result in a clear answer, I'm afraid.
I was using the name "Schematic" instead of "Schematics" in the bindkey. That was the reason, procedure was not working for my Schematic window.
I have one more question
1. How to pass CDF parameters from shcematic to layout.