| Author |
Message |
Suresh Jeevanandam
Guest
|
Posted:
Mon Nov 28, 2005 1:10 pm Post subject:
Skill Qn: How to check if a cellview exists |
|
|
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.
|
|
| Back to top |
|
 |
Andrew Beckett
Guest
|
Posted:
Mon Nov 28, 2005 1:10 pm Post subject:
Re: Skill Qn: How to check if a cellview exists |
|
|
On Mon, 28 Nov 2005 11:16:48 +0100, Bernd Fischer
<""bernd.fischer\"@xignal-A%&HY%$v#&G=.de"> wrote:
| Quote: |
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. |
|
| Back to top |
|
 |
Bernd Fischer
Guest
|
Posted:
Mon Nov 28, 2005 1:10 pm Post subject:
Re: Skill Qn: How to check if a cellview exists |
|
|
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:
| Quote: | 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. |
|
|
| Back to top |
|
 |
|
|
|
|