insertWithCamera MethodStatic
Insert an SpatialViewDefinition with the camera turned on.
insertWithCamera(iModelDb: IModelDb, definitionModelId: string, name: string, modelSelectorId: string, categorySelectorId: string, displayStyleId: string, range: Range3d, standardView: StandardViewIndexStandardViewIndex.Iso, cameraAngle: numberAngle.piOver2Radians): string
@see createWithCamera for details.
@returns The Id of the newly inserted SpatialViewDefinition element
@throws IModelError if there is an insert problem.
Parameter | Type | Description |
---|---|---|
iModelDb | IModelDb | |
definitionModelId | string | |
name | string | |
modelSelectorId | string | |
categorySelectorId | string | |
displayStyleId | string | |
range | Range3d | |
standardView | StandardViewIndex | |
cameraAngle | number |
Returns - string
The Id of the newly inserted SpatialViewDefinition element
Defined in
- core/backend/src/ViewDefinition.ts Line 411
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.