create MethodStatic
Creates a new TextAnnotation3d
instance with the specified properties.
create(iModelDb: IModelDb, category: string, model: string, placement: Placement3dProps, textAnnotationData?: TextAnnotationProps, code?: CodeProps): TextAnnotation3d
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | The iModel. |
category | string | The category ID for the annotation. |
model | string | The model ID where the annotation will be placed. |
placement | Placement3dProps | The placement properties for the annotation. |
textAnnotationData | TextAnnotationProps | Optional TextAnnotation JSON representation used to create the TextAnnotation3d . Essentially an empty element if not provided. |
code | CodeProps | Optional code for the element. |
Returns - TextAnnotation3d
Defined in
Last Updated: 03 September, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.