Home > SCH_Document > autoRouting
SCH_Document.autoRouting() 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
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
Parameters
Parameter | Type | Description |
|---|---|---|
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) 自动布线参数 |
Returns
Promise<any>
结果