leSearchHierarchy
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
leSearchHierarchy

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





Posted: Thu Aug 26, 2004 1:08 am    Post subject: leSearchHierarchy Reply with quote

All,

I am useing the below to find all lables the dfII layout from the top to
10 levels
deep, is there a way to transform the coords of the labels to the top level
and not the lower levels

netfind = leSearchHierarchy( cv_dbid cv_dbid~>bBox 10 "label" list(
list( "layer" "==" list( "" "drawing" ) ) ) )

--


\ ~ ~ ///
---- ( @ @ )
| | ======oOOo==(_)==oOOo=======================================
| |__<*> ___ Tracy Groller | Texas Instruments, Inc.
| _|III|_ | ------------------| Wireless RFCMOS Design
_____| /_ III _/ \ TI MSGID: TAG2 | P.O. Box 660199, MS 8729
\_ /III/ | PC Drop: PFLL | Dallas, Texas 75266
\ _ /III/ _| -------------------------------------------------
\_/ \ \___> - Phone: (214) 480-2217 Text Pager
\ / Email: h-groller@ti.com 2144010964@sbc2way.com
\ \ =======================================================
\---\

Back to top
Suresh Jeevanandam
Guest





Posted: Thu Aug 26, 2004 1:33 pm    Post subject: Re: leSearchHierarchy Reply with quote

Tracy,
A similar problem was discussed here,
Please look at,
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=246b9vop3noqrp67g0pn20oq0one3l1lmo%404ax.com

Regards,
Suresh J

Tracy Groller wrote:
Quote:
All,

I am useing the below to find all lables the dfII layout from the top to
10 levels
deep, is there a way to transform the coords of the labels to the top level
and not the lower levels

netfind = leSearchHierarchy( cv_dbid cv_dbid~>bBox 10 "label" list(
list( "layer" "==" list( "" "drawing" ) ) ) )
Back to top
Tracy Groller
Guest





Posted: Thu Aug 26, 2004 7:09 pm    Post subject: Re: leSearchHierarchy Reply with quote

Suresh,

this is good, but I am looking for something
much like the Search function from the Virtuoso Layout menu,
I do not need to copy the labels/pins to the top level
just find the world coordinates and place them into an array
for parsing .

Tracy

Quote:
Tracy,
A similar problem was discussed here,
Please look at,
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=246b9vop3noqrp67g0pn20oq0one3l1lmo%404ax.com


Regards,
Suresh J

Tracy Groller wrote:

All,

I am useing the below to find all lables the dfII layout from the top
to 10 levels
deep, is there a way to transform the coords of the labels to the top
level
and not the lower levels

netfind = leSearchHierarchy( cv_dbid cv_dbid~>bBox 10 "label" list(
list( "layer" "==" list( "" "drawing" ) ) ) )



--


\ ~ ~ ///
---- ( @ @ )
| | ======oOOo==(_)==oOOo=======================================
| |__<*> ___ Tracy Groller | Texas Instruments, Inc.
| _|III|_ | ------------------| Wireless RFCMOS Design
_____| /_ III _/ \ TI MSGID: TAG2 | P.O. Box 660199, MS 8729
\_ /III/ | PC Drop: PFLL | Dallas, Texas 75266
\ _ /III/ _| -------------------------------------------------
\_/ \ \___> - Phone: (214) 480-2217 Text Pager
\ / Email: h-groller@ti.com 2144010964@sbc2way.com
\ \ =======================================================
\---\

Back to top
Andrew Beckett
Guest





Posted: Thu Aug 26, 2004 8:07 pm    Post subject: Re: leSearchHierarchy Reply with quote

Tracy,

All the information you should need to write something is in that code though -
the main issue is concatenating all the transforms - and then you can use
dbTransformPoint() or dbTransformBBox() together with the computed transform
to figure out the transformed coordiantes.

It's not that hard - just a recursive function. You'd need to base it on
something like the code in the reference, and not do the dbCopyFig bit.

Andrew.

On Thu, 26 Aug 2004 10:09:41 -0500, Tracy Groller <h-groller@ti.com> wrote:

Quote:
Suresh,

this is good, but I am looking for something
much like the Search function from the Virtuoso Layout menu,
I do not need to copy the labels/pins to the top level
just find the world coordinates and place them into an array
for parsing .

Tracy

Tracy,
A similar problem was discussed here,
Please look at,
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=246b9vop3noqrp67g0pn20oq0one3l1lmo%404ax.com


Regards,
Suresh J

Tracy Groller wrote:

All,

I am useing the below to find all lables the dfII layout from the top
to 10 levels
deep, is there a way to transform the coords of the labels to the top
level
and not the lower levels

netfind = leSearchHierarchy( cv_dbid cv_dbid~>bBox 10 "label" list(
list( "layer" "==" list( "" "drawing" ) ) ) )


--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
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