How to define hotkeys in Cadence
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
How to define hotkeys in Cadence

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





Posted: Fri Nov 19, 2004 12:10 am    Post subject: How to define hotkeys in Cadence Reply with quote

Hi,

I want to define hotkeys in Cadence. I used IBM SiGe design kit and the
hotkey defition file is bindkey.il. However, when I switch to NCSU design
kit, I don't know how to define hotkeys. I want to have the same hotkeys
no matter what technology I am using. Can anybody give me some
suggestions?

Kuan

Back to top
Svenn Are Bjerkem
Guest





Posted: Fri Nov 19, 2004 11:51 am    Post subject: Re: How to define hotkeys in Cadence Reply with quote

Kuan Zhou wrote:
Quote:
Hi,

I want to define hotkeys in Cadence. I used IBM SiGe design kit and
the hotkey defition file is bindkey.il. However, when I switch to NCSU
design kit, I don't know how to define hotkeys. I want to have the same
hotkeys no matter what technology I am using. Can anybody give me some
suggestions?

You can use hiSetBindKey() in your .cdsinit file. Because .cdsinit is
read last, you will overwrite bindkey set by other files.

example
hiSetBindKey( "Schematics" "Ctrl<Key>e" "schHiEditInPlace()" )

To find your current bindkeys, use CIW:Options->Binkey...

--
Svenn
Back to top
Gerd Beeckman
Guest





Posted: Fri Nov 19, 2004 9:46 pm    Post subject: Re: How to define hotkeys in Cadence Reply with quote

Hi Kuan,

Most likely there will be a ".cdsinit" file on your Cadence run
directory. If so, add this command to the file: load("bindkey.il") ,
with bindkey.il being your "bindkeys", as we call them... The .cdsinit
file is always loaded automatically when you initiate Cadence.

What you can do if the file is not there:
1. create one, with the load-command added as explained
2. enter the load-command directly in your CIW (when Cadence is up &
running)

Hopefully this works...

Gerd.



Kuan Zhou <koy2@cisunix.unh.edu> wrote in message news:<Pine.OSF.4.61.0411181409480.479043@hypatia.unh.edu>...
Quote:
Hi,

I want to define hotkeys in Cadence. I used IBM SiGe design kit and the
hotkey defition file is bindkey.il. However, when I switch to NCSU design
kit, I don't know how to define hotkeys. I want to have the same hotkeys
no matter what technology I am using. Can anybody give me some
suggestions?

Kuan


Back to top
Pete nospam Zakel
Guest





Posted: Sat Nov 20, 2004 2:08 am    Post subject: Re: How to define hotkeys in Cadence Reply with quote

In article <cnk54s$noe$1@athen03.muc.infineon.com> Svenn Are Bjerkem <svenn.are@bjerkem.de> writes:
Quote:
Kuan Zhou wrote:

I want to define hotkeys in Cadence. I used IBM SiGe design kit and
the hotkey defition file is bindkey.il. However, when I switch to NCSU
design kit, I don't know how to define hotkeys. I want to have the same
hotkeys no matter what technology I am using. Can anybody give me some
suggestions?

You can use hiSetBindKey() in your .cdsinit file. Because .cdsinit is
read last, you will overwrite bindkey set by other files.

example
hiSetBindKey( "Schematics" "Ctrl<Key>e" "schHiEditInPlace()" )

To find your current bindkeys, use CIW:Options->Binkey...

Note that if you are defining multiple bindkeys, it is MUCH more efficient
to use one call to hiSetBindKeys() rather than multiple calls to
hiSetBindKey(), unless you ensure that all the calls to hiSetBindKey() are
made before the first window is opened for the application the bindkeys are
being set for.

I've seen at least one instance where it took several seconds to perform a
"descend edit" operation because bindkeys were loaded after the window was
opened, and the bindkeys were set with multiple calls to hiSetBindKey().

One way to convert to a single hiSetBindKeys call is to bring up the bindkey
form From the CIW Options menu, select the appropriate Application Type Prefix
and press the "Show Bind Keys" button. This will bring up a viewfile window
which contains a single hiSetBindKeys() command for all bindkeys defined at
that point which can be saved to a file from the File menu of the window.

-Pete Zakel
(phz@seeheader.nospam)

Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of
Western Civilization?
Gandhi: I think it would be a good idea.
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
Powered by phpBB