EEVblog Electronics Community Forum

Electronics => PCB/EDA/CAD => Altium Designer => Topic started by: Kanc1erz on January 17, 2019, 11:02:05 am

Title: Named polygon direct connection and another clearance
Post by: Kanc1erz on January 17, 2019, 11:02:05 am
Hi,
is there fast possibility to make a named polygon using direct connection and another clearance? For instance:
I got converter MP3414 nad instead of routing it normally it would be better to make those connections (with inductor, caps and so on) using a polygon.
Now I am doing it by writing rule like: InComponent('U7') or InComponent('L1') etc. but it would be more convenient if I could write: InNamedPolygon('MP3414_Inductor'). It obviously doesn't work, as in the screen below.

(https://i.postimg.cc/G9DLFkTJ/screen-poly-rule.png) (https://postimg.cc/G9DLFkTJ)

Maybe you have some other "pro tips" for noobs like me? :)
Title: Re: Named polygon direct connection and another clearance
Post by: Kanc1erz on January 17, 2019, 01:46:43 pm
The answer is: IsNamedPolygon('PolyName')  :-[  |O
Title: Re: Named polygon direct connection and another clearance
Post by: T3sl4co1l on January 17, 2019, 09:33:18 pm
Polygons are weird... sometimes you use InPoly, sometimes you use IsNamedPolygon, sometimes you... ::)

Tim
Title: Re: Named polygon direct connection and another clearance
Post by: free_electron on January 21, 2019, 03:11:17 am
In access the objects that make up the polygon ( a polygon is a tlist of vectors)
Is means the object itself.
Title: Re: Named polygon direct connection and another clearance
Post by: Pseudobyte on January 22, 2019, 04:41:49 pm
Another strange thing is that copper polygons are not considered electrical by the "IsElectrical" query. That one had me scratching heads for quite awhile.

A guy just wanted to write a board outline rule for copper and my polygons were not following the rule. If it wasn't for the whole test query feature I would have gone insane long ago.