Hi all ,
Is it possible add context to Find Marker , i have a instance hierarchy list .
i hope easy to find the instance in schematic that like Find Marker function .
Can you expand your question? I don't understand what you mean by "Is it possible add context to Find Marker". So please give more details.
Also, what version are you using?
In reply to Andrew Beckett:
Hi andrew ,
my composer version : 5141 ISR140
i have instance hierarchy list like :
i wish easy to find and search instance in schematic .
the function like "Find Marker" , when i click instance list line .
the instnace will be highlight and jump to schematic .
In reply to yuhua:
In IC61, in Schematic XL, you have the "Navigator" assistant which allows you to easily traverse the hierarchy. In IC614 there's a search built in to that, but you also have the Search assistant. This makes it very easy to find stuff, because it can then open lower level schematics (in tabs) and zoom/pan to selected instances automatically.
In IC5141, your best bet is probably Edit->Search->Find, and set the search scope to hierarchy, and then search for the leaf part of the hierarchy (e.g. MM7). There's also "Zoom to Object" on this form.
i will try it !
You can write a little recursive routine to do this. The main Cadence functions to use would be:
instId = dbFindAnyInstByName(geGetEditCellView() instName)geSwitch(hiGetCurrentWindow() "r" instId 0 0 0)
This would be very easy to implement for your examples. It gets a little trickier when you have iterated instances (like myInst<0:7>). The dbFindAnyInstByName will not find myInst<1>, but would only find the entire name.
Here is how you might implement this for your examples:
procedure(mySchDescend(path) let((pathList) pathList = parseString(path "/") instId = dbFindAnyInstByName(geGetEditCellView() car(pathList)) geSwitch(hiGetCurrentWindow() "r" instId 0 0 0) when(pathList = cdr(pathList) mySchDescend(buildString(pathList "/")) ) ))mySchDescend("XI_BIASOSC/XI146/MN1")
In reply to dmay:
Hi Derek ,
thanks ~ the procedure mySchDescend is power help for me .
the Find Marker GUI interface is powerful .
i check the document and find the command "geCreateMarker"
Is it possible add marker via geCreateMarker ???
geCreateMarker( cell2 "warning" "PDV" "physical rule violation" "mytext" )
the cell2 setting
cell2 = ddGetObj("mylib" "mycell" "schematic")
i get error message *Error* geCreateMarker: argument #1 should be a database object (type template = "dtttt") - dd:0xc50dbc4
How to create Marker via skill command in schematic view ?
Hi Yu Hua,
The problem is that the ddGetObj function returns a "dd" object which is not the same as a "db" object which is what the marker function requires. You can get a db cellview object id using a function like geGetEditCellView() or dbOpenCellViewByType(<lib> <cell> <view>)
Also the db object for the geCreateMarker() function can be for another database object, such as a shape or an instance, these might be obtained through selection, e.g. car(geGetSelectedSet()) or through the mouse pointer location, e.g. in a bindkey function gePointToFig(hiGetCurrentWindow() t hiGetPoint())
Anyway, I hope that I have provided enough information to get you working again...
In reply to skillUser:
Thanks again everybody.
it's work .