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.
清除布线
Signature
typescript
clearRouting(type?: 'all' | 'net' | 'connection'): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
type | 'all' | 'net' | 'connection' | (Optional) 清除类型,如若需要指定清除类型,请提前选择指定图元 |
Returns
Promise<boolean>