Home > SCH_PrimitiveComponent > createCbbSymbol
SCH_PrimitiveComponent.createCbbSymbol() 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 Reuse block symbol
Signature
typescript
function createCbbSymbol(
cbbSymbol: { libraryUuid: string; cbbUuid: string; uuid?: string },
x: number,
y: number,
rotation?: number,
mirror?: boolean,
): Promise<ISCH_PrimitiveCbbSymbolComponent | undefined>;1
2
3
4
5
6
7
2
3
4
5
6
7
Parameters
Parameter | Type | Description |
|---|---|---|
cbbSymbol | { libraryUuid: string; cbbUuid: string; uuid?: string } | Associated library reuse block symbol. |
x | number | X coordinate |
y | number | Y coordinate |
rotation | number | (Optional) Rotation angle |
mirror | boolean | (Optional) Whether it is mirrored |
Returns
Promise<ISCH_PrimitiveCbbSymbolComponent | undefined>
Reuse block symbol primitive object