Home > SCH_PrimitiveAttribute > createNetLabel
SCH_PrimitiveAttribute.createNetLabel() 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.
Create a net label
Signature
typescript
function createNetLabel(
x: number,
y: number,
net: string,
): Promise<ISCH_PrimitiveAttribute | undefined>;1
2
3
4
5
2
3
4
5
Parameters
Parameter | Type | Description |
|---|---|---|
x | number | X coordinate |
y | number | Y coordinate |
net | string | Net name |
Returns
Promise<ISCH_PrimitiveAttribute | undefined>
Net label attribute primitive
Remarks
ADD since EDA v4