Shape to Polygon

T

tracy&amanda

Guest
All,

Is there a equilavant
db function to convert
shapes to polygons .
I need something besides
the leShapetoPolygon() .

Reagrds

Tracy
 
The Interactive Skill function is 'leHiConvertShapeToPolygon' and the
procedural function is 'leConvertShapeToPolygon'. You may want to
check the "custom layout skill functions reference' on page 32.
 
thats true but I need
a db function or similar,
the reason for this is
with pcells it's told not
to use ge or le functions .
Per the cdsdocs for PCELLS.


Thanks for ur reply

vlsidesign wrote:
The Interactive Skill function is 'leHiConvertShapeToPolygon' and the
procedural function is 'leConvertShapeToPolygon'. You may want to
check the "custom layout skill functions reference' on page 32.
 
hi tracy, VCAD has a fully SKILL based implementation
of the layer boolean functions which are completely
usable in pcells. If you need to do simle boolean
layer operations on manhattan shapes, the SKILL
implementation is of course slower than the c-level
le...functions, but they are very nice to use in
PCells.

Please let me know if you are interested in them.
-jim

tracy&amanda wrote:
All,

Is there a equilavant
db function to convert
shapes to polygons .
I need something besides
the leShapetoPolygon() .

Reagrds

Tracy
 
In 5.2.51, and recent hotfixes of 5.0.33 and 5.1.41, the boolean
functions have been made safe for use in PCells. The official function
names are dbLayerOr, dbLayerAnd, etc. with the old layerOr, layerAnd,
etc. functions being aliased to the new functions.

This does not solve your shape conversion question though. I suppose you
could call dbLayerOr passing it the shape. As far as I know, it always
returns the polygon that represents the shape you gave it. Kind of an
expensive operation though. A little cheaper if you know none of the
shapes on a single layer overlap and feed them all in at once, or don't
care that they merge together.

Why are you trying to convert to polygons? Why not just generate
polygons to start with?

On Sun, 13 Mar 2005 18:13:10 +0100, Jim Newton <jimka@rdrop.com> wrote:

hi tracy, VCAD has a fully SKILL based implementation
of the layer boolean functions which are completely
usable in pcells. If you need to do simle boolean
layer operations on manhattan shapes, the SKILL
implementation is of course slower than the c-level
le...functions, but they are very nice to use in
PCells.

Please let me know if you are interested in them.
-jim

tracy&amanda wrote:
All,

Is there a equilavant
db function to convert
shapes to polygons .
I need something besides
the leShapetoPolygon() .

Reagrds

Tracy
 

Welcome to EDABoard.com

Sponsor

Back
Top