Home > SCH_PrimitiveComponent > getAll
SCH_PrimitiveComponent.getAll() 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
getAll(componentType?: string, allSchematicPages?: boolean): Promise<Array<ISCH_PrimitiveComponent>>;
1
Parameters
Parameter | Type | Description |
---|---|---|
componentType | string | (Optional) 器件类型 |
allSchematicPages | boolean | (Optional) |
Returns
Promise<Array<ISCH_PrimitiveComponent>>
器件图元对象数组