Home > PCB_Document > clearRouting
PCB_Document.clearRouting() 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.
Clear routing
Signature
typescript
function clearRouting(type?: 'all' | 'net' | 'connection'): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
type | 'all' | 'net' | 'connection' | (Optional) Clear type. If you need to specify a clear type, select the specified primitive in advance |
Returns
Promise<boolean>