> 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


|