Doubt in the code

Guest
Hi ,
I'm getting error message in the following code.Could anyone help me..

cvID=car(geGetSelectedSet())
db:217838308
tfID = techGetDeviceTechFile(cvID)
*WARNING* icSetCurrentWindowTrig: argument must be dbCellViewId - db:
217838308
nil

Regards,
Lokesh rajendran..
 
cvID=car(geGetSelectedSet())
This will not give you the cellview Id which techGetTechFile()
expects. This will give you instance Id.

Better call:
cv=geGetWindowCellView() or geGetEditCellView()
This will give you cellview Id of the current design window.

Rajesh
 
Hi,

Just bear in mind that geGetWindowCellView() and geGetEditCellView()
will give different results when you are editing a cell in place.
geGetEditCellView returns the ID for the cellview being edited.
geGetWindowCellView returns the ID of the cellview displayed in a
window.
Look at the "Cadence Design Framework II SKILL Functions Reference"
for more information.

You can use dbOpenCellViewByType() otherwise.

Cheers,
Riad.
 
Riad KACED wrote, on 05/17/09 18:16:
Hi,

Just bear in mind that geGetWindowCellView() and geGetEditCellView()
will give different results when you are editing a cell in place.
geGetEditCellView returns the ID for the cellview being edited.
geGetWindowCellView returns the ID of the cellview displayed in a
window.
Look at the "Cadence Design Framework II SKILL Functions Reference"
for more information.

You can use dbOpenCellViewByType() otherwise.

Cheers,
Riad.
In fact I find that nearly always geGetEditCellView() is the one you want - it's
rare to need the window rather than edit cellView...

Andrew
 

Welcome to EDABoard.com

Sponsor

Back
Top