Home > SCH_Document > autoRouting
SCH_Document.autoRouting() method
此 API 当前处于 BETA 预览状态,希望得到开发者的反馈。它的任何功能都可能在接下来的开发进程中被修改,请不要将它用于任何正式环境。
自动布线
签名
typescript
autoRouting(props?: {
uuids?: Array<string>;
netlist?: {
component: {
[uniqueId: string]: {
pinInfoMap: {
[key: string]: {
name: string;
number: string;
net: string;
props: {
'Pin Number': string;
};
};
};
};
};
};
designatorDeviceTypeMap?: {
[designator: string]: 'resistor' | 'capacitor' | 'inductive' | 'diode' | 'triode' | 'oscillator' | 'chip' | 'otherDevice';
};
}): Promise<any>;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
参数名
参数 | 类型 | 描述 |
|---|---|---|
props | { uuids?: Array<string>; netlist?: { component: { [uniqueId: string]: { pinInfoMap: { [key: string]: { name: string; number: string; net: string; props: { 'Pin Number': string; }; }; }; }; }; }; designatorDeviceTypeMap?: { [designator: string]: 'resistor' | 'capacitor' | 'inductive' | 'diode' | 'triode' | 'oscillator' | 'chip' | 'otherDevice'; }; } | (Optional) 自动布线参数 |
返回值
Promise<any>
结果