pcb_get_net_classes
Retrieve every net class and its member nets from the active PCB; optionally return class names only to avoid reading membership data.
Instructions
Get all net classes on the active PCB, with the nets in each.
Altium's script host does not expose a class's member list, so
each class is asked about every net in turn. That is one call per
class and net, so on a big board members=False is quicker when
only the names are needed.
Args: members: Read each class's nets (default). False returns the class names only.
Returns: Dictionary with "net_classes" (each with name, super_class and, when members are read, "nets", "member_count" and "probe_errors"), "count" and "members_read". A class with probe_errors above 0 may have more nets than listed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||