how to pass cutSpace value while creating via object :

I

Indrakumar

Guest
hi i am trying to update the cutSpace value to the via Object in
layout.
Can anyone help me in doing that..
Thanks
 
Hi,

I would recommand using the cdsViaDevice in the techfile (assuming
IC5141). This would give you access to a couple of parameters called
xCutSpacing and yCutSpacing. Those parameters are off the top of my
head available through the add via form.

Cheers,
Riad.
 
On Nov 15, 11:54 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi,

I would recommand using the cdsViaDevice in the techfile (assuming
IC5141). This would give you access to a couple of parameters called
xCutSpacing and yCutSpacing. Those parameters are off the top of my
head available through the add via form.

Cheers,
Riad.
Hi Riad,
Thanks for replying but i won't to update those parameters using skill
code. . (FYI: i am using version IC6.1.3)
I am able to create Via using "dbCreateVia( cv via_def x:y "R0" )"
command.
but I want to know how can i pass parameters for this command and how
do i update parameters when its already placed in layout.
Please help me in doing the same thing. .
Thanks. ..

Indra
 
On Nov 16, 9:27 am, Indrakumar <p.indraku...@gmail.com> wrote:
On Nov 15, 11:54 pm, Riad KACED <riad.ka...@gmail.com> wrote:

Hi,

I would recommand using the cdsViaDevice in the techfile (assuming
IC5141). This would give you access to a couple of parameters called
xCutSpacing and yCutSpacing. Those parameters are off the top of my
head available through the add via form.

Cheers,
Riad.

Hi Riad,
Thanks for replying but i won't to update those parameters using skill
code. . (FYI: i am using version IC6.1.3)
I am able to create Via using  "dbCreateVia( cv via_def x:y "R0" )"
command.
but I want to know how can i pass parameters for this command and how
do i update parameters when its already placed in layout.
Please help me in doing the same thing. .
Thanks. ..

Indra
sorry typo.. :-(

Hi Riad,

Thanks for replying but i want to update those parameters using skill
code. . (FYI: i am using version IC6.1.3)
I am able to create Via using "dbCreateVia( cv via_def x:y "R0" )"
command.
but I want to know how can i pass parameters for this command and how
do i update parameters when its already placed in layout.
Please help me in doing the same thing. .
Thanks. ..

> Indra
 
Indrakumar wrote, on 11/16/09 06:40:
On Nov 16, 9:27 am, Indrakumar <p.indraku...@gmail.com> wrote:
On Nov 15, 11:54 pm, Riad KACED <riad.ka...@gmail.com> wrote:

Hi,
I would recommand using the cdsViaDevice in the techfile (assuming
IC5141). This would give you access to a couple of parameters called
xCutSpacing and yCutSpacing. Those parameters are off the top of my
head available through the add via form.
Cheers,
Riad.
Hi Riad,
Thanks for replying but i won't to update those parameters using skill
code. . (FYI: i am using version IC6.1.3)
I am able to create Via using "dbCreateVia( cv via_def x:y "R0" )"
command.
but I want to know how can i pass parameters for this command and how
do i update parameters when its already placed in layout.
Please help me in doing the same thing. .
Thanks. ..

Indra

sorry typo.. :-(

Hi Riad,

Thanks for replying but i want to update those parameters using skill
code. . (FYI: i am using version IC6.1.3)
I am able to create Via using "dbCreateVia( cv via_def x:y "R0" )"
command.
but I want to know how can i pass parameters for this command and how
do i update parameters when its already placed in layout.
Please help me in doing the same thing. .
Thanks. ..

Indra
dbCreateVia(cv via_def 0:0 "R0"
list(
list("cutRows" 4)
list("cutColumns" 6)
list("cutSpacing" list(1.0 2.0))
)
)

The fifth argument to dbCreateVia is a list of lists. Each is a key-value pair
in a sublist (i.e. an "assoc" list). In the case of cutSpacing, you specify a
list of the x and y cut spacing.

Note that to modify an existing via, you have to delete the via and add a new
one - this is because each parameter change needs a replacement of the via. That
said, there's a function to set a specific parameter on a via instance back to
its default, and this replaces the via master - I'll file an enhancement request
for a function to update a via's parameters in place.

Hang on, I just had an idea - and it worked:

dbReplacePropList(viaId
list(
list("cutRows" 'int 4)
list("cutColumns" 'int 7)
list("cutSpacing" 'list list(0.8 1.5))
)
)

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top