Home > PCB_Net > highlightNet
PCB_Net.highlightNet() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Highlight the net
Signature
typescript
function highlightNet(net: string): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
net | string | Net name |
Returns
Promise<boolean>
Whether the operation is successful
Remarks
The return value of this API is result-oriented. If the net was already highlighted, true will also be returned