How can I get the nets which had been highlighted through SK

T

Tom_Ding

Guest
Hello everyone,
I'm using Allegro 14.2, and I want to get a report which includes
the names of the nets which had been highlighted. How can I implement
that through SKILL?
Thanks.
 
hi,

i use skill in the cadence designframework II. there you can get the
database IDs of highlighted objects by "dbId = css()". i dont know,
whether this works under allegro too. if you tried it, please let me
know what whether it works or not.

greetings,
hikom
 
I doubt whether css() would work, since that's a private function,
and in fact is provided by the analog core stuff. The public equivalent
is car(geGetSelSet()) - this may well work in Allegro (although I'm not
familiar with Allegro SKILL).

Regards,

Andrew.

On Sun, 20 Feb 2005 04:01:26 -0600, morgenst@izm.fhg-dot-de.no-spam.invalid
(hikom) wrote:

hi,

i use skill in the cadence designframework II. there you can get the
database IDs of highlighted objects by "dbId = css()". i dont know,
whether this works under allegro too. if you tried it, please let me
know what whether it works or not.

greetings,
hikom
 
Thank you for your help!
But css() and geGetSelSet() are not defined in Allegro.
I got another private function _axlGetObjectHighlight() which may fit
this problem.

Thanks again.

Tom
 
Tom_Ding wrote:
Thank you for your help!
But css() and geGetSelSet() are not defined in Allegro.
I got another private function _axlGetObjectHighlight() which may fit
this problem.

Thanks again.

Tom
The Allegro equivalent in Axl Skill is:
NAME
axlGetSelSet - get list of objects in sel set

SYNOPSIS
axlGetSelSet(
[r_window]
)
==> lrd_dbid/nil

FUNCTION
Uses SELProcessObjects to walk objects in the selection set.
LSELAddToList is called from SELProcessObjects for each object.

NEEDS
r_window - ignored

RETURNS
lrd_dbid - list of axl DBID's for objects in the
selection set.
nil - if sel set is empty or an error occurred.
 
hikom wrote:
hi,

i use skill in the cadence designframework II. there you can get the
database IDs of highlighted objects by "dbId = css()". i dont know,
whether this works under allegro too. if you tried it, please let me
know what whether it works or not.

greetings,
hikom
There are a number of Allegro Skill routines done by users that will
highlight various items in a design. These should be available from the
user contributed skill programs section of Sourcelink. Also, there
are a number of examples that come with the Allegro Base distribution
and should be found in your share/pcb/examples/skill directory.
 

Welcome to EDABoard.com

Sponsor

Back
Top