bindkey to instantiate a device

Y

yvk

Guest
Hi,

Is it possible to assign a bindkey to instantiate a device from analogLib/basic (which already exists)?

Thanks,
yvk
 
On 02/17/13 06:14, yvk wrote:
Hi,

Is it possible to assign a bindkey to instantiate a device from analogLib/basic (which already exists)?

Thanks,
yvk
Yes, you could write some SKILL code to do this ;-)
You could use schHiCreateInst("analogLib" "vpulse" "symbol") - this will
seed the form with the component you want and prompt you to place it. Or
you could use schCreateInst or dbCreateInst with all the right arguments
- and use enterPoint to prompt you where to place it (say).

Andrew.
 
Thanks Andrew,

It seems fine from console.

But some syntax issue with

hiSetBindkey("Schematics" "<Key>8" "schHiCreateInst("basic" "noConn" "symbol")" )


On Sunday, February 24, 2013 7:27:22 PM UTC+5:30, Andrew Beckett wrote:
On 02/17/13 06:14, yvk wrote:

Hi,



Is it possible to assign a bindkey to instantiate a device from analogLib/basic (which already exists)?



Thanks,

yvk





Yes, you could write some SKILL code to do this ;-)

You could use schHiCreateInst("analogLib" "vpulse" "symbol") - this will

seed the form with the component you want and prompt you to place it. Or

you could use schCreateInst or dbCreateInst with all the right arguments

- and use enterPoint to prompt you where to place it (say).



Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top