Home > PCB_Drc > addNetToNetClass
PCB_Drc.addNetToNetClass() 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
addNetToNetClass(netClassName: string, net: string | Array<string>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
netClassName | string | 网络类名称 |
net | string | Array<string> | 网络名称 |
Returns
Promise<boolean>
操作是否成功