Customizing Library Manager
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Customizing Library Manager

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Guenther Sohler
Guest





Posted: Fri Sep 30, 2005 8:10 am    Post subject: Customizing Library Manager Reply with quote

We want to customize our library manager.
I read about mapping callbacks - all of them seem activated,
if you select a menuitem in a menu or in an pop-up-menu.
However, I need a callback capability, which is triggered, when
any view of a cell(3rd libmanager column) is selected.
how can I do so ?


2nd problem:

In one of my callbacks, I use system to call a unix program.
It puts its output to the unix terminal. Is there any function ready
to automatically have the log written to a seperate new window ?
the spectre simulation log file uses this facility


rds

Back to top
Andrew Beckett
Guest





Posted: Fri Sep 30, 2005 12:10 pm    Post subject: Re: Customizing Library Manager Reply with quote

On Fri, 30 Sep 2005 09:42:36 +0200, Guenther Sohler
<guenther.sohler@newlogic.com> wrote:

Quote:
We want to customize our library manager.
I read about mapping callbacks - all of them seem activated,
if you select a menuitem in a menu or in an pop-up-menu.
However, I need a callback capability, which is triggered, when
any view of a cell(3rd libmanager column) is selected.
how can I do so ?


You can't. Why would you want to do this? Perhaps there is a different
use model which would make more sense that I can suggest?


Quote:

2nd problem:

In one of my callbacks, I use system to call a unix program.
It puts its output to the unix terminal. Is there any function ready
to automatically have the log written to a seperate new window ?
the spectre simulation log file uses this facility


rds

Use ipcBeginProcess() with a data handler, or perhaps ipcBatchProcess()
and then use view() with the auto-update argument set to t.

Regards,

Andrew.
Back to top
Guenther Sohler
Guest





Posted: Fri Sep 30, 2005 12:10 pm    Post subject: Re: Customizing Library Manager Reply with quote

Hallo Andrew,

I have put an additional popup item
"Create GDS File"
and
"Create CDL File"
as functions, you can apply on a cell view("schematic","layout","symbol")

But you should not create a cdl from a "layout" view, so
I only want to disable the grayout here, if the viewtype of the
pointed view is "maskLayout"

I think this is a quite straight-forward approach ...

Quote:
2nd problem:

Use ipcBeginProcess() with a data handler, or perhaps ipcBatchProcess()
and then use view() with the auto-update argument set to t.

Regards,

Andrew.


I will try using these functions

Back to top
Andrew Beckett
Guest





Posted: Tue Oct 04, 2005 4:10 pm    Post subject: Re: Customizing Library Manager Reply with quote

Hi Guenther,

On Fri, 30 Sep 2005 10:58:04 +0200, Guenther Sohler
<guenther.sohler@newlogic.com> wrote:

Quote:
Hallo Andrew,

I have put an additional popup item
"Create GDS File"
and
"Create CDL File"
as functions, you can apply on a cell view("schematic","layout","symbol")

But you should not create a cdl from a "layout" view, so
I only want to disable the grayout here, if the viewtype of the
pointed view is "maskLayout"

I think this is a quite straight-forward approach ...

This is exactly what the mapCallback is for. There's an example of doing this
in the library manager documentation:

<instdir>/doc/libManager/libManager.pdf

Example 5 "Dynamically Sensitizing Menu Items in a DM Workarea".

Yes, the "ab" prefix in the examples are my initials - the documentation is
based on an application note I wrote back in (I think) 1998.

Regards,

Andrew.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB