How to find pin count of components

It is easy to find the count of component pins in PCB-Investigator, you can check the properties or use component manager.
For searching the same information in the interface you can use the package specifics of the component or get the pin linst:

IStep step = parentIPCBIWindow.GetCurrentStep();
List allSelectedCMPs = step.GetSelectedCMPs();

foreach(ICMPObject cmp in allSelectedCMPs)
{
int pinCount = cmp.GetPinList().Count;
}

Forums: 

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.