Home > SCH_PrimitiveComponent > getAllPrimitiveId
SCH_PrimitiveComponent.getAllPrimitiveId() 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.
Get all Device primitive IDs
Signature
typescript
function getAllPrimitiveId(
componentType?: ESCH_PrimitiveComponentType,
allSchematicPages?: boolean,
): Promise<Array<string>>;1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
|---|---|---|
componentType | (Optional) Device type | |
allSchematicPages | boolean | (Optional) Whether to get the devices of all schematic sheets |
Returns
Promise<Array<string>>
Array of Device primitive IDs