Skill Qn: How to check if a cellview exists

S

Suresh Jeevanandam

Guest
Hi,
I want to check if a cellview exists for a given
libName-cellName-viewName .

This could be done by checking the return value of
dbOpenCellViewByType().This one prints a warning message every time it
could not find a cellview.Is there any other function that would just
check if a cellview exists and returns t/nil .

regards,
Suresh.
 
ddGetObj returns the design data ID if the object exist or nil if not

ddGetObj(
{ t_libName/nil }
[ t_cellName/nil ]
[ t_viewName/nil ]
[ t_fileName/nil ]
[ b_contextId/nil ]
[ t_mode ]
)
=> b_ddId

Bernd

Suresh Jeevanandam wrote:
Hi,
I want to check if a cellview exists for a given
libName-cellName-viewName .

This could be done by checking the return value of
dbOpenCellViewByType().This one prints a warning message every time it
could not find a cellview.Is there any other function that would just
check if a cellview exists and returns t/nil .

regards,
Suresh.
 
On Mon, 28 Nov 2005 11:16:48 +0100, Bernd Fischer
<""bernd.fischer\"@xignal-A%&HY%$v#&G=.de"> wrote:

ddGetObj returns the design data ID if the object exist or nil if not

ddGetObj(
{ t_libName/nil }
[ t_cellName/nil ]
[ t_viewName/nil ]
[ t_fileName/nil ]
[ b_contextId/nil ]
[ t_mode ]
)
=> b_ddId

Bernd

Suresh Jeevanandam wrote:
Hi,
I want to check if a cellview exists for a given
libName-cellName-viewName .

This could be done by checking the return value of
dbOpenCellViewByType().This one prints a warning message every time it
could not find a cellview.Is there any other function that would just
check if a cellview exists and returns t/nil .

regards,
Suresh.
Also see my sourcelink solution 11026564 which shows a way to suppress the
warnings.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top