Home > PCB_Net > getNetLength
PCB_Net.getNetLength() method
Get the length of the specified net
Signature
typescript
function getNetLength(net: string): Promise<number | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
net | string | Net name |
Returns
Promise<number | undefined>
Net length. undefined means the net does not exist; 0 means the net has no length