Hello,
I want to ask about example case we can use component class as mentioned in
Hi,
I doubt you will get many replies as this feature was only released five days ago into the Nightlies 8.99.
This means it has only been available for a day or two, so few have had a chance to test this.
I just hope the developer who post this gives the example. I also wants to test this feature, but don’t know what usage.
It is primarily for use with custom design rules right now. It allows you to make custom rules that apply to certain components defined at the schematic level.
As @craftyjon says, these are for DRC rules currently. For example, you might have a set of components that are very noise-sensitive, in a Component Class called ‘FrontEnd’. You could place a rule area on the PCB also called ‘FrontEnd’, and have the following DRC rule to ensure all the components are in an area you keep electrically clean:
(rule FrontEnd
(condition "A.hasComponentClass('FrontEnd') && !A.insideArea('FontEnd')")
(constraint disallow footprint)
)
There are some other use-cases to come, but these depend on features that haven’t yet been released.
It’s worth to try. But not now, since I’m not good creating DRC rules