ilInst label question

W

whisker

Guest
I am wanting to find an automatic method to annotate the owner of a
schematic in the schematic's title block. The general method of
ilInst~>cellView~>lib~>owner gives me the ownership of the library NOT
the cell. I have used geQuerySelSet() and I do not see a way to get
the cell's owner. Am I missing something? I did try creating an
ILLabel in the title block symbol that used
ddGetObjOwner(dbGetCellViewDdId(geGetEditCellView())) and this seemed
to work, but I wondered if this was a kludged method. Any help would
be greatly appreciated. Thanks.
 
Thanks, Andrew, I didn't realize that all the database information for
the cellview was accessible in that fashion.

On a related topic, are properties stored in the property bag able to
be displayed via an ilInst label as well?

whisker
 
Thanks, Andrew, as always, you are a wellspring of knowledge.

One last question. Is it possible to define properties of the cell or
view or cellview that read an environment variable from the shell?
When I define a property with type = ILExpr and value = getShellEnvVar(
"PWD" ), it seems that it is NOT evaluated using SKILL and the ILLabel
that I use to display the property just shows getShellEnvVar( "PWD" )
instead of the path. Similarly, I tried setting the value to
getWorkingDir() and again it just regurgitates getWorkingDir() instead
to evaluating it using SKILL. It does this regardless of whether I do
it for the cellview, cell, or view. I am not really after the path, I
just used these for convenience of example.

whisker
 

Welcome to EDABoard.com

Sponsor

Back
Top