I'm trying to write a code to check fillet , but I don't know how to know if a shape is "fillet shape". My version is 16.3( in this, when i show element fillet shape => "Shape is fillet"). Pls help me ?
If you have the dbid of a shape then
shape->fillet == t
if the shape is a fillet shape
In reply to fxffxf:
Thank for your advice ! That is what I need.
One more question that is How to know a fillet shape is belong to which cline? When I show element a fillet shape, i found that It's only connect to a via or a pin. Can you help me do that.
In reply to luanvn81:
You can explore the axlDBGetConnect function by passing the dbid for shape as input and getting the parent Net or Cline etc
In reply to Pawandeep:
Hi Pawandeep !
I have tested follow your advice, by passing the shape's dbid to get parent of Cline, It got all clines of the shape's net . So I don't know which cline belongs to processing shape. Another suggestion ?
What is your purpose?
I want to
check fillet at pins and vias with the condition is: if one Cline connect to
pin(or via) which clinewidth >0.3mm
then skipping. It's only check clines that clinewidth <= 0.3mm.
In this case it will be easier to use function axlFillet for adding fillets.
You can pass the cline/net dbid which have width lesser than your target.