free skill inside assura
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
free skill inside assura

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
michaelg



Joined: 10 Nov 2005
Posts: 1

Posted: Thu Nov 10, 2005 12:31 pm    Post subject: free skill inside assura Reply with quote

Hi All,

I wrote an Assura code to get a die size ( for die corner rule implementation)
. I need to understand what is the die size in order to determine corner size for violations (I have 6 possibilities).
I found the die size using the: geomGetBBox() command and now I want to switch between the different dies using a simple 'if then else' condition.
I tried to calculate the die size myself using skill but the value returned fro the geomGetBBox() is not a list, it is something call 'other'.
How can I extract the chip die size from a bbox function, is it possible?

Thanks in advance
Michael
Question Question Question

Back to top
View user's profile Send private message Send e-mail
Ed "Mr. Diva" Kalenda
Guest





Posted: Thu Nov 10, 2005 9:10 pm    Post subject: Re: free skill inside assura Reply with quote

On Thu, 10 Nov 2005 07:10:08 -0600,
michaelg@towersemi-dot-com.no-spam.invalid (michaelg) wrote:

Quote:
Hi All,

I wrote an Assura code to get a die size ( for die corner rule
implementation)
I need to understand what is the die size in order to determine
corner size for violations (I have 6 possibilities).
I found the die size using the: geomGetBBox() command and now I want
to switch between the different dies using a simple 'if then else'
condition.
I tried to calculate the die size myself using skill but the value
returned fro the geomGetBBox() is not a list, it is something call
'other'.
How can I extract the chip die size from a bbox function, is it
possible?

Thanks in advance
Michael
:?: :?: :?:

You can't. The geomGetBBox command returns a derived layer which will
contain the bbox as a shape when the rules are executed.

Assura, like Diva, first compiles the rule deck into a list of tasks,
then runs those tasks. The execution of the SKILL script which is your
rule deck just builds the task list. Your SKILL script is done and gone
before any of the tasks execute, so no information about the derived
layers is available.

The normal way to do what you want is with switches. The user must
select the appropriate die size when they run the job. The rules can
validate the data fits within the selected die size, using geomGetBBox
and selection operators such as geomGetRectangle. I don't have an Assura
Reference handy, so I can't give you rules. In rough, get the bbox as a
shape, then use geomGetRectangle on that layer to select any rectangles
that are too large for the die chosen. You can also select rectangles
that are the smaller die sizes to catch the case where the user selected
the wrong die size. Treat the selected rectangles as errors.

Ed "Mr. Diva" Kalenda
Cadence Design Systems

This is just me blathering, not the company, since they don't let talk for them.
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