Home > PCB_SelectControl > doSelectPrimitives
PCB_SelectControl.doSelectPrimitives() 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.
使用图元 ID 选中图元
Signature
typescript
doSelectPrimitives(primitiveIds: string | Array<string>): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
primitiveIds | string | Array<string> | 图元 ID |
Returns
Promise<boolean>
操作是否成功