Talk About Network

Google





Computer Aided Design - CAD > Cadence > Re: Skill: Mult...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 10 Topic 3910 of 4397
Post > Topic >>

Re: Skill: Multipart shape ?

by "S. Badel" <stephane.badel@[EMAIL PROTECTED] > Mar 10, 2008 at 02:29 PM

> Actually, if ?spaceX or ?spaceY are missing or values equal to 0, i
> get an error message in CIW.
> If ?spaceX or ?spaceY are different from 0 (for example 0.005) my code
> works.

Actually, the do***entation specifies that spaceX and spaceY should be
*positive* integer or 
floating point, meaning zero is not an option. If you omit them, default
values are taken from the 
technology data (minSpacing for the specified layer). Seems that's where
the error comes from, 
though it's not obvious at first sight.

The idea is, subrectangles are supposed to be replicated in x and y
direction within the shape, what 
you're trying to do is have multiple shapes on top of each other, right ?

I suppose there's no way to obtain that with a single rod rectangle ;
however what you can do is 
create multiple rectangle and align them, i.e.

  rect1 = rodCreateRect( ?layer "MET1" ... )
  rect2 = rodCreateRect( ?layer "MET2" ?fromObj rect1 )
  rodAlign( ?alignObj rect2 ?refObj rect1 )

That will allow the two shapes to stay aligned. It's not bulletproof,
however ; one can still be 
resized without the other.

Another option is to go for a pcell, but pcells have their own drawbacks.


> Last point: I'm sorry to nag so much people in this newsgroup. but i'm
> a beginner in skill programming. I don't know how to use the functions
> described in the do***entation.  For example, option ?bBox  l_bbox.
> what kind of list is l_bbox ??  In my docs, i don't have anything
> about it . But if you have some interesting links to helpful docs ...

No misunderstanding. That's what this place is for, I suppose, so... you
don't have to be sorry.
I'm merely suggesting that a little hands-on would probably lead you to
find most solutions by 
yourself, and the first one to benefit is yourself.


Cheers,
Stéphane
 




 10 Posts in Topic:
Skill: Multipart shape ?
bedoune@[EMAIL PROTECTED]  2008-03-05 18:33:24 
Re: Skill: Multipart shape ?
Andrew Beckett <andrew  2008-03-06 05:51:11 
Re: Skill: Multipart shape ?
bedoune@[EMAIL PROTECTED]  2008-03-09 22:00:04 
Re: Skill: Multipart shape ?
"S. Badel" <  2008-03-10 10:12:42 
Re: Skill: Multipart shape ?
bedoune@[EMAIL PROTECTED]  2008-03-10 02:48:54 
Re: Skill: Multipart shape ?
"S. Badel" <  2008-03-10 14:29:31 
Re: Skill: Multipart shape ?
Andrew Beckett <andrew  2008-03-10 22:37:33 
Re: Skill: Multipart shape ?
rickm@[EMAIL PROTECTED]   2008-03-10 15:29:51 
Re: Skill: Multipart shape ?
bedoune@[EMAIL PROTECTED]  2008-03-12 23:05:38 
Re: Skill: Multipart shape ?
Andrew Beckett <andrew  2008-03-13 14:00:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 6:18:11 PST 2009.