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