Table of contents
Saved Views
Download API definition:
PATCH https://api.bentley.com/savedviews/{savedViewId}

Updates a saved view.

Note: any string parameter being passed in the payload will be rejected if it contains any of the following characters: <, >, &, ", ', .

Authentication

Requires Authorization header with valid Bearer token for scope itwin-platform.

For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.

Request parameters

Name
Required?
Description
savedViewId
Yes

Request headers

Name
Required?
Description
Authorization
Yes

OAuth access token with itwin-platform scope

Accept
Yes

Setting to application/vnd.bentley.itwin-platform.v1+json is recommended.

Please use https://www.itwinjs.org/reference/imodeljs-common/views/viewstateprops/ for reference

Request body

SavedViewUpdate

Name
Type
Required?
Description
savedViewData
No
groupId
String, null
No

Group ID

displayName
String, null
No

Saved View Name

shared
Boolean, null
No

Flag for whether or not Saved View is shared

tagIds
String[], null
No

Tags of Saved View

Example

json
{
    "savedViewData": {
        "itwin3dView": {
            "origin": [
                0.0,
                0.0,
                0.0
            ],
            "extents": [
                100.0,
                100.0,
                100.0
            ],
            "angles": {
                "yaw": 90.0,
                "pitch": 90.0,
                "roll": 90.0
            },
            "camera": {
                "lens": 90.0,
                "focusDist": 1.0,
                "eye": [
                    0.0,
                    0.0,
                    0.0
                ]
            },
            "categories": {
                "enabled": [
                    "0x12",
                    "0x13"
                ],
                "disabled": [
                    "0x14",
                    "0x15"
                ]
            },
            "models": {
                "enabled": [
                    "0x12",
                    "0x13"
                ],
                "disabled": [
                    "0x14",
                    "0x15"
                ]
            }
        }
    },
    "groupId": "AKX-Arab1o1NqdQwr7zIr3KNv7DGPQORQpkxmyDyE1ERZS7bsqUkWEmr9ZGmC5TopQ",
    "displayName": "Saved View Test Name",
    "shared": false,
    "tagIds": [
        "ABRBqKCBtXZCl_ax5ZFB9uaNv7DGPQORQpkxmyDyE1ERZS7bsqUkWEmr9ZGmC5TopQ"
    ]
}

Response 200 OK

Updated saved view.

json
{
    "savedView": {
        "id": "ACZbDmWhULVChRcDRkoPdLaNv7DGPQORQpkxmyDyE1ERZS7bsqUkWEmr9ZGmC5TopQ",
        "displayName": "Test Name",
        "shared": false,
        "creationTime": "2022-10-04T16:14:08.335Z",
        "lastModified": "2022-10-07T13:15:25.224Z",
        "tags": [{
            "displayName": "Tag Test Name",
            "id": "ABRBqKCBtXZCl_ax5ZFB9uaNv7DGPQORQpkxmyDyE1ERZS7bsqUkWEmr9ZGmC5TopQ"
        }],
        "_links": {
            "iTwin": {
                "href": "https://api.bentley.com/path1/path2/id"
            },
            "imodel": {
                "href": "https://api.bentley.com/path1/path2/id"
            },
            "creator": {
                "href": "https://api.bentley.com/path1/path2/id"
            },
            "group": {
                "href": "https://api.bentley.com/path1/path2/id"
            },
            "image": {
                "href": "https://api.bentley.com/path1/path2/id"
            },
            "thumbnail": {
                "href": "https://api.bentley.com/path1/path2/id"
            }
        },
        "savedViewData": {
            "itwin3dView": {
                "origin": [
                    0,
                    0,
                    0
                ],
                "extents": [
                    100,
                    100,
                    100
                ],
                "angles": {
                    "yaw": 90,
                    "pitch": 90,
                    "roll": 90
                },
                "camera": {
                    "lens": 90,
                    "focusDist": 1,
                    "eye": [
                        0,
                        0,
                        0
                    ]
                },
                "categories": {
                    "enabled": [
                        "0x12",
                        "0x13"
                    ],
                    "disabled": [
                        "0x14",
                        "0x15"
                    ]
                },
                "models": {
                    "enabled": [
                        "0x12",
                        "0x13"
                    ],
                    "disabled": [
                        "0x14",
                        "0x15"
                    ]
                }
            }
        }
    }
}

Response 401 Unauthorized

This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.

json
{
    "error": {
        "code": "HeaderNotFound",
        "message": "Header Authorization was not found in the request. Access denied."
    }
}

Response 403 Forbidden

The user has insufficient permissions for the requested operation.

json
{
    "error": {
        "code": "InsufficientPermissions",
        "message": "The user has insufficient permissions for the requested operation."
    }
}

Response 404 Not Found

Requested savedview is not available.

json
{
    "error": {
        "code": "SavedViewNotFound",
        "message": "Requested savedview is not available."
    }
}

Response 422 Unprocessable Entity

Cannot update saved view.

json
{
    "error": {
        "code": "InvalidSavedviewsRequest",
        "message": "Cannot update saved view.",
        "details": [{
            "code": "InvalidRequestBody",
            "message": "displayName must be a string.",
            "target": "displayName"
        }]
    }
}

Response 429 Too many requests

This response indicates that the user has sent too many requests in a given amount of time.

json
{
    "error": {
        "code": "TooManyRequests",
        "message": "More requests were received than the subscription rate-limit allows."
    }
}

Response headers

Name
Description
retry-after

The number of requests exceeds the rate-limit for the client subscription.

Link

Name
Type
Description
href
String

Http reference

ViewYawPitchRoll

Name
Type
Description
yaw
Number, null

Yaw (rotation of x towards y) of the orientation, in degrees

pitch
Number, null

Pitch (rotation that raises x towards z) of the orientation, in degrees

roll
Number, null

Roll (rotation of y towards z) of the orientation, in degrees

ViewCamera

Name
Type
Description
lens
Number

Angle of the camera lens, in degrees

focusDist
Number

Focal distance of the lens, in meters

eye
Number[]

Location of the eye of the camera. (Array of numbers representing x, y and z)

ViewVisibilityList

Name
Type
Description
enabled
String[], null

List of Ids that should be enabled/visible.

disabled
String[], null

List of Ids that should be disabled/hidden.

ViewItwin3d

Name
Type
Description
origin
Number[]

The lower left back corner of the view frustum. (Array of numbers representing x, y and z)

extents
Number[]

The extent of the view frustum. (Array of numbers representing x, y and z)

ViewItwinSheet

Name
Type
Description
baseModelId
String

Base model Id

origin
Number[]

Origin. (Array of numbers representing x and y)

delta
Number[]

Delta. (Array of numbers representing x and y)

angle
Number

Angle, in degrees.

width
Number, null

Width of the sheet, in meters

height
Number, null

Height of the sheet, in meters

scale
Number, null

Scale of the sheet

sheetTemplate
String, null

Sheet template Id

sheetAttachments
String[], null

List of Ids

ViewItwinDrawing

Name
Type
Description
baseModelId
String

Base model Id

origin
Number[]

Origin. (Array of numbers representing x and y)

delta
Number[]

Delta. (Array of numbers representing x and y)

angle
Number

Angle, in degrees.

spatialView
String, null

The Id of the spatial view from which the SectionDrawing was generated.

displaySpatialView
Boolean, null

If true, the spatial view should be displayed in the context of the drawing view.

drawingToSpatialTransform
Array[], null

Transform from drawing coordinates to spatial coordinates. If undefined, use identity transform. 3 X 4 transformation matrix containing 3 arrays of matrix rows consisting of 4 numbers each: [qx qy qz ax] where the fourth columnn in each row holds the translation.

modelExtents
Array[]

The extents of the DrawingModel, used for determining the upper limits of the view's extents.

View

Name
Type
Description
itwin3dView
itwinSheetView
itwinDrawingView

SavedViewTag

Name
Type
Description
id
String

Linked Tag identifier

displayName
String

SavedViewLinks

Name
Type
Description
iTwin
project
imodel
creator
group
image
thumbnail

ViewWithLegacy

Name
Type
Description
itwin3dView
itwinSheetView
itwinDrawingView
legacyView
Object, null

Legacy data, un-updatable, will soon be deprecated move to new service

SavedViewResponse

Name
Type
Description

SavedViewUpdate

Name
Type
Description
savedViewData
groupId
String, null

Group ID

displayName
String, null

Saved View Name

shared
Boolean, null

Flag for whether or not Saved View is shared

tagIds
String[], null

Tags of Saved View

ViewFlagProps renderMode

Render mode.

Name
Type
Description
Wireframe
String
HiddenLine
String
SolidFill
String
SmoothShade
String

ViewFlagProps

Name
Type
Description
noConstructions
Boolean

If true, don't show construction class.

noDimensions
Boolean

If true, don't show dimension class.

noPattern
Boolean

If true, don't show patterns.

noWeight
Boolean

If true, don't line weights.

noStyle
Boolean

If true, don't line styles.

noTransparency
Boolean

If true, don't use transparency.

noFill
Boolean

If true, don't show filled regions.

noTexture
Boolean

If true, don't show textures.

noMaterial
Boolean

If true, don't show materials.

visibleEdges
Boolean

If true, show visible edges.

hiddenEdges
Boolean

If true, show hidden edges.

shadows
Boolean

If true, show shadows.

clipVolume
Boolean

If true, use the view's clipping volume. Has no effect on other types of clips like ModelClipGroups.

hiddenLineMaterialColors
Boolean

If true, use hidden line material colors.

monochrome
Boolean

If true, show view with monochrome settings.

ViewFlagProps renderMode

Render mode.

backgroundMap
Boolean

Display background map.

ambientOcclusion
Boolean

If true, show ambient occlusion.

RgbColorProps

Name
Type
Description
red
Number

Red value between [0, 255]

green
Number

Green value between [0, 255]

blue
Number

Blue value between [0, 255]

DisplayStyleSubCategoryProps

Name
Type
Description
invisible
Boolean

Whether the subcategory is invisible or not.

weight
Number

The line width in pixels. Must be a value between [1,32].

style
String

Style Id to use.

priority
Number

Priority.

material
String

Material Id to use.

transparency
Number

Transparency. Must be a value in the range [0,1]. 0.0 means fully opaque, and 1.0 means fully transparent.

transparencyFill
Number

Fill transparency. Must be a value in the range [0,1]. 0.0 means fully opaque, and 1.0 means fully transparent.

subCategory
String

The Id of the SubCategory whose appearance is to be overridden.

TerrainProps heightOriginMode

Determines how/if the heightOrigin is applied to the terrain height.

Name
Type
Description
Geodetic
String
Geoid
String
Ground
String

TerrainProps

Name
Type
Description
providerName
String

Identifies the provider currently only CesiumWorldTerrain is supported.

exaggeration
Number

A value greater than one will cause terrain height to be exaggerated/scaled.false (or 1.0) indicate no exaggeration.

applyLighting
Boolean

Applying lighting can help to visualize subtle terrain variation.

heightOrigin
Number

Origin value - height of the IModel origin at the project center as defined by heightOriginMode.

TerrainProps heightOriginMode

Determines how/if the heightOrigin is applied to the terrain height.

PlanarClipMaskProps mode

Controls how the mask geometry is collected.

Name
Type
Description
None
String
Priority
String
Models
String
IncludeSubCategories
String
IncludeElements
String
ExcludeElements
String

PlanarClipMaskProps priority

The priority of the planar clip mask.

Name
Type
Description
RealityModel
String
DesignModel
String
-2048
String
-1024
String

PlanarClipMaskProps

Name
Type
Description
PlanarClipMaskProps mode

Controls how the mask geometry is collected.

modelIds
String

Compressed Id set containing the model Ids.

subCategoryOrElementIds
String

Compressed Id set containing the sub category or element Ids.

PlanarClipMaskProps priority

The priority of the planar clip mask.

transparency
Number

The transparency of the planar clip mask. Between 0 (complete masking) and 1 (no masking).

invert
Boolean

A value of true indicates that the mask should be inverted and only content within the mask should be displayed.

BackgroundMapProps globeMode

Globe Mode.

Name
Type
Description
Ellipsoid
String
Plane
String

BackgroundMapProps

Name
Type
Description
groundBias
Number

The elevation of the map in meters relative the WGS84 ellipsoid.

transparency
Object

A transparency value from 0.0 (fully opaque) to 1.0 (fully transparent) to apply to map graphics when drawing, or false to indicate the transparency should not be overridden.

useDepthBuffer
Boolean

If set to true, the map tiles will be rendered with depth, allowing them to obscure other geometry. Otherwise, they are always rendered behind all other geometry.

applyTerrain
Boolean

If true, terrain heights will be applied to the map; otherwise the map will be rendered as a plane.

terrainSettings
BackgroundMapProps globeMode

Globe Mode.

nonLocatable
Boolean

If true, the map will be treated as non-locatable - i.e., tools will not interact with it. This is particularly useful when the map is transparent - it allows the user to select elements that are behind the map.

planarClipMask

RealityDataSourceKey

Name
Type
Description
provider
String

The provider that supplies the access to reality data source for displaying the reality model.

format
String

The format used by the provider to store the reality data.

id
String

The reality data id that identify a reality data for the provider.

iTwinId
String

The context id that was used when reality data was attached - if none provided, current session iTwinId will be used.

SpatialClassifierFlagsProps inside

Describes how a SpatialClassifier affects the display of classified geometry - that is, geometry intersecting the classifier.

Name
Type
Description
Off
String
On
String
Dimmed
String
Hilite
String
ElementColor
String

SpatialClassifierFlagsProps outside

Describes how a SpatialClassifier affects the display of unclassified geometry - that is, geometry not intersecting the classifier.

Name
Type
Description
Off
String
On
String
Dimmed
String

SpatialClassifierFlagsProps

Name
Type
Description
SpatialClassifierFlagsProps inside

Describes how a SpatialClassifier affects the display of classified geometry - that is, geometry intersecting the classifier.

SpatialClassifierFlagsProps outside

Describes how a SpatialClassifier affects the display of unclassified geometry - that is, geometry not intersecting the classifier.

isVolumeClassifier
Boolean

True for volume classification; false for planar classification.

SpatialClassifierProps

Name
Type
Description
modelId
String

The Id of the GeometricModel whose geometry is used to produce the classifier.

expand
Number

A distance in meters by which to expand the classifier geometry. For example, if line strings are used to represent streets, you might expand them to the average width of a street.

name
String

A user-friendly name, useful for identifying individual classifiers within a SpatialClassifiers.

isActive
Boolean

Records whether this is the active classifier.

FeatureAppearanceProps linePixels

The pixel pattern used to draw lines.

Name
Type
Description
0
String
Code0
String
Invisible
String
Code1
String
HiddenLine
String
Code5
String
Code6
String
Code2
String
Code4
String
Code7
String
Code3
String
-1
String

FeatureAppearanceProps

Name
Type
Description
weight
Number

The line weight in pixels as an integer in [1, 31]

transparency
Number

The transparency in the range [0.0, 1.0] where 0 indicates fully opaque and 1 indicates fully transparent.

FeatureAppearanceProps linePixels

The pixel pattern used to draw lines.

ignoresMaterial
Boolean

If true, ignore the RenderMaterial associated with surfaces.

nonLocatable
Boolean

If true, the associated Feature will not be drawn when using Viewport.readPixels.

emphasized
Boolean

If true, the associated Feature will be emphasized. Emphasized features are rendered using the Hilite.Settings defined by Viewport.emphasisSettings

ContextRealityModelProps

Name
Type
Description
realityDataSourceKey
tilesetUrl
String

The URL that supplies the 3d tiles for displaying the reality model.

realityDataId
String

Id of reality data.

name
String

An optional, user-friendly name for the reality model suitable for display in a user interface.

description
String

An optional, user-friendly description of the reality model suitable for display in a user interface.

classifiers

List of SpatialClassifierProps.

planarClipMask
appearanceOverrides

MapImageryProps

Name
Type
Description
backgroundBase
Object

The settings for the base layer.

backgroundLayers
Object[]

Background layer settings.

overlayLayers
Object[]

Overlay layer settings.

DisplayStyleModelAppearanceProps linePixels

The pixel pattern used to draw lines.

Name
Type
Description
0
String
Code0
String
Invisible
String
Code1
String
HiddenLine
String
Code5
String
Code6
String
Code2
String
Code4
String
Code7
String
Code3
String
-1
String

DisplayStyleModelAppearanceProps

Name
Type
Description
weight
Number

The line weight in pixels as an integer in [1, 31]

transparency
Number

The transparency in the range [0.0, 1.0] where 0 indicates fully opaque and 1 indicates fully transparent.

DisplayStyleModelAppearanceProps linePixels

The pixel pattern used to draw lines.

ignoresMaterial
Boolean

If true, ignore the RenderMaterial associated with surfaces.

nonLocatable
Boolean

If true, the associated Feature will not be drawn when using Viewport.readPixels.

emphasized
Boolean

If true, the associated Feature will be emphasized. Emphasized features are rendered using the Hilite.Settings defined by Viewport.emphasisSettings

modelId
String

The Id of the model whose appearance is to be overridden.

ViewFlagOverrides renderMode

The basic rendering mode applied to the view. This modulates the behavior of some of the other flags.

Name
Type
Description
Wireframe
String
HiddenLine
String
SolidFill
String
SmoothShade
String

ViewFlagOverrides

Name
Type
Description
ViewFlagOverrides renderMode

The basic rendering mode applied to the view. This modulates the behavior of some of the other flags.

dimensions
Boolean

Whether to display geometry of class GeometryClass.Dimension.

patterns
Boolean

Whether to display geometry of class GeometryClass.Pattern.

weights
Boolean

Whether to allow lines and edges to draw with width greater than one pixel.

styles
Boolean

Whether LinePixels are allowed to apply patterns to lines and edges. If false, they all draw as solid lines.

transparency
Boolean

Whether element transparency is applied. If false, transparent geometry is drawn opaque.

fill
Boolean

In RenderMode.Wireframe only, whether to display the interiors of planar regions with FillFlags.ByView.

textures
Boolean

In RenderMode.SmoothShade, whether to apply RenderTextures to surfaces.

materials
Boolean

In RenderMode.SmoothShade, whether to apply RenderMaterial]s to surfaces.

acsTriad
Boolean

Whether to display a graphical representation of the view's AuxCoordSystem.

grid
Boolean

Whether to display a grid.

visibleEdges
Boolean

In RenderMode.SmoothShade, whether to display the edges of surfaces.

hiddenEdges
Boolean

In any mode except RenderMode.Wireframe, whether to display the edges of surfaces occluded by other geometry. This has no effect unless visibleEdges is also true.

shadows
Boolean

In RenderMode.SmoothShade, whether to display solar shadows. This has no effect unless lighting is also true.

clipVolume
Boolean

Whether to apply the view's clip volume to the geometry in the scene.

constructions
Boolean

Whether to display geometry of class GeometryClass.Construction.

monochrome
Boolean

Whether to produce a monochrome image.

backgroundMap
Boolean

Whether to display background map imagery.

ambientOcclusion
Boolean

In RenderMode.SmoothShade, whether to apply AmbientOcclusion.

wiremesh
Boolean

If true, overlay surfaces with wiremesh to reveal their triangulation.

lighting
Boolean

In RenderMode.SmoothShade, whether to apply lighting to surfaces.

HiddenLineStyleProps pattern

If defined, the pixel pattern used to draw the edges. If undefined, edges are drawn using the element's line pattern.

Name
Type
Description
0
String
Code0
String
Invisible
String
Code1
String
HiddenLine
String
Code5
String
Code6
String
Code2
String
Code4
String
Code7
String
Code3
String
-1
String

HiddenLineStyleProps

Name
Type
Description
overrideColor
Boolean

If true, color is overridden.

HiddenLineStyleProps pattern

If defined, the pixel pattern used to draw the edges. If undefined, edges are drawn using the element's line pattern.

width
Number

If defined, the width of the edges in pixels. If undefined (or 0), edges are drawn using the element's line width. Should be an integer between [1,32]

HiddenLineSettingsProps

Name
Type
Description
transparencyThreshold
Number

A value in the range [0.0, 1.0] specifying a threshold below which transparent surfaces should not be drawn. A value of 0.0 indicates any surface that is not 100% opaque should not be drawn. A value of 0.25 indicates any surface that is less than 25% opaque should not be drawn. A value of 1.0 indicates that all surfaces should be drawn regardless of transparency.

CutStyleProps

Name
Type
Description

ClipIntersectionStyleProps

Name
Type
Description
color

Color to apply to intersection of geometry and clip planes, default white.

width
Number

Number of pixels to be considered intersecting the clip plane, default 1.

ClipStyleProps

Name
Type
Description
produceCutGeometry
Boolean

If true, geometry will be produced at the clip planes in a 3d view. - Solids (closed volumes) will produce facets on the clip planes. - Other surfaces will produce line strings representing the edges of the surface at the clip planes.

cutStyle

Controls aspects of how the cut geometry is displayed, if produceCutGeometry is true.

insideColor

If defined, geometry inside the clip planes will be drawn in this color.

outsideColor

If defined, geometry outside of the clip planes will be drawn in this color instead of being clipped.

colorizeIntersection
Boolean

If 'true', intersection of geometry and clip planes will be colorized.

intersectionStyle

Controls the style of the intersection of geometry and clip planes.

DisplayStylePlanarClipMaskProps mode

Controls how the mask geometry is collected.

Name
Type
Description
None
String
Priority
String
Models
String
IncludeSubCategories
String
IncludeElements
String
ExcludeElements
String

DisplayStylePlanarClipMaskProps priority

The priority of the planar clip mask.

Name
Type
Description
RealityModel
String
DesignModel
String
-2048
String
-1024
String

DisplayStylePlanarClipMaskProps

Name
Type
Description
DisplayStylePlanarClipMaskProps mode

Controls how the mask geometry is collected.

modelIds
String

Compressed Id set containing the model Ids.

subCategoryOrElementIds
String

Compressed Id set containing the sub category or element Ids.

DisplayStylePlanarClipMaskProps priority

The priority of the planar clip mask.

transparency
Number

The transparency of the planar clip mask. Between 0 (complete masking) and 1 (no masking).

invert
Boolean

A value of true indicates that the mask should be inverted and only content within the mask should be displayed.

modelId
String

The Id of the model to mask.

GroundPlaneProps

Name
Type
Description
display
Boolean

Whether the ground plane should be displayed.

elevation
Number

The Z height at which to draw the ground plane.

aboveColor
belowColor

SkyCubeProps

Name
Type
Description
front
String

JSON representation of the front image used by a SkyCube. Can be an image URL or the Id of a texture element.

back
String

JSON representation of the back image used by a SkyCube. Can be an image URL or the Id of a texture element.

top
String

JSON representation of the top image used by a SkyCube. Can be an image URL or the Id of a texture element.

bottom
String

JSON representation of the bottom image used by a SkyCube. Can be an image URL or the Id of a texture element.

right
String

JSON representation of the right image used by a SkyCube. Can be an image URL or the Id of a texture element.

left
String

JSON representation of the left image used by a SkyCube. Can be an image URL or the Id of a texture element.

SkyBoxImageProps type

Type of skybox image.

Name
Type
Description
None
String
Spherical
String
Cube
String

SkyBoxImageProps

Name
Type
Description
SkyBoxImageProps type

Type of skybox image.

texture
String

The image to map to the interior of the sphere.

textures

SkyBoxProps

Name
Type
Description
display
Boolean

Whether or not the skybox should be displayed

twoColor
Boolean

For a SkyGradient, if true, a 2-color gradient skybox is used instead of a 4-color.

groundColor
zenithColor
nadirColor
skyExponent
Number

For a 4-color SkyGradient, controls speed of change from sky color to zenith color; otherwise unused.

groundExponent
Number

For a 4-color SkyGradient, controls speed of change from ground color to nadir color; otherwise unused.

EnvironmentProps

Name
Type
Description

AmbientOcclusionProps

Name
Type
Description
bias
Number

If defined, represents an angle in degrees. If the dot product between the normal of the sample and the vector to the camera is less than this value, sampling stops in the current direction. This is used to remove shadows from near planar edges.

zLengthCap
Number

If defined, if the distance in linear depth from the current sample to first sample is greater than this value, sampling stops in the current direction. The full range of linear depth is 0 to 1.

maxDistance
Number

If defined, the maximum distance from the camera's near plane in meters at which ambient occlusion will be applied.

intensity
Number

If defined, raise the final ambient occlusion to the power of this value. Larger values make the ambient shadows darker.

texelStepSize
Number

If defined, indicates the distance to step toward the next texel sample in the current direction.

blurDelta
Number

If defined, blurDelta is used to compute the weight of a Gaussian filter. The equation is exp((-0.5 * blurDelta * blurDelta) / (blurSigma * blurSigma)).

blurSigma
Number

If defined, blurSigma is used to compute the weight of a Gaussian filter. The equation is exp((-0.5 * blurDelta * blurDelta) / (blurSigma * blurSigma)).

blurTexelStepSize
Number

If defined, blurTexelStepSize indicates the distance to the next texel for blurring.

SolarShadowSettingsProps

Name
Type
Description

PortraitProps

Name
Type
Description
intensity
Number

Intensity of the portrait light.

SolarLightProps

Name
Type
Description
intensity
Number

Intensity of the light.

direction
Number[]

Direction of the light in world coordinates.

alwaysEnabled
Boolean

If true, the light will be applied even when shadows are turned off for the view. If false, a roughly overhead light of the same intensity oriented in view space will be used instead.

timePoint
Number

If defined, the time in UNIX milliseconds from which direction was calculated.

HemisphereLightsProps

Name
Type
Description
upperColor
lowerColor
intensity
Number

Intensity of the lights.

AmbientLightProps

Name
Type
Description
intensity
Number

Intensity of the lights.

FresnelSettingsProps

Name
Type
Description
intensity
Number

Intensity of the fresnel.

invert
Number

Whether to inver the fresnel.

LightSettingsProps

Name
Type
Description
specularIntensity
Number

Specular intensity applied to all lights.

numCels
Number

Applies a cel-shaded effect. If greater than zero, specifies the number of cels.

DisplayStyle3dSettingsProps monochromeMode

The style in which the monochrome color is applied. Can be 1 (Scaled) or 0 (Flat).

Name
Type
Description
Flat
String
Scaled
String

DisplayStyle3dSettingsProps

Name
Type
Description
viewflags
backgroundColor
monochromeColor
DisplayStyle3dSettingsProps monochromeMode

The style in which the monochrome color is applied. Can be 1 (Scaled) or 0 (Flat).

renderTimeline
String

The id of a Render Timeline element containing a schedule script that can be used to animate the view.

timePoint
Number

The point in time reflected by the view, in UNIX seconds.

subCategoryOverrides

Overrides applied to the appearances of subcategories in the view.

backgroundMap
contextRealityModels

A list of ContextRealityModels attached to a DisplayStyleSettings.

excludedElements
Object

Ids of elements not to be displayed in the view. It is preferred to use the compressed format, as the number of Ids may be quite large.

mapImagery
modelOverrides

Overrides applied to the appearance of models in the view.

planarClipOverrides

Planar clip masks applied to reality models.

environment
ambientOcclusion
planProjections
Object

Settings controlling how plan projection models are to be rendered. The key for each entry is the Id of the model to which the settings apply.

DisplayStyleSettingsProps monochromeMode

The style in which the monochrome color is applied. Can be 1 (Scaled) or 0 (Flat).

Name
Type
Description
Flat
String
Scaled
String

DisplayStyleSettingsProps

Name
Type
Description
viewflags
backgroundColor
monochromeColor
DisplayStyleSettingsProps monochromeMode

The style in which the monochrome color is applied. Can be 1 (Scaled) or 0 (Flat).

renderTimeline
String

The id of a Render Timeline element containing a schedule script that can be used to animate the view.

timePoint
Number

The point in time reflected by the view, in UNIX seconds.

subCategoryOverrides

Overrides applied to the appearances of subcategories in the view.

backgroundMap
contextRealityModels

A list of ContextRealityModels attached to a DisplayStyleSettings.

excludedElements
Object

Ids of elements not to be displayed in the view. It is preferred to use the compressed format, as the number of Ids may be quite large.

mapImagery
modelOverrides

Overrides applied to the appearance of models in the view.

planarClipOverrides

Planar clip masks applied to reality models.

ShapeProps

Name
Type
Description
points
Array[]

The points describing the polygon.

transform
Array[]

Transform applied to the polygon.

zLow
Number

Lower bound on Z.

zHigh
Number

Upper bound on Z.

mask
Boolean

true if this shape is a mask.

invisible
Boolean

true if this shape is invisible.

ClipPrimitiveShapeProps

Name
Type
Description

PlanesProps

Name
Type
Description
clips
Array[]
invisible
Boolean

true if the primitive is a hole.

ClipPrimitivePlaneProps

Name
Type
Description

ExtensionLinks

Name
Type
Description
href
String
extensionName
String

ExtensionPayload

Name
Type
Description
extensionName
String
markdownUrl
String
schemaUrl
String
data
String
_links.iTwin
_links.project
_links.imodel
_links.savedView

SavedViewWithData

Name
Type
Description
id
String

Unique identifier

displayName
String

User visible name

shared
Boolean

Flag for whether or not element is shared

creationTime
Date-time

ISO-8601 compliant time (UTC) the saved view was created.

lastModified
Date-time

ISO-8601 compliant time (UTC) the saved view was last modified.

tags
SavedViewTag[], null

Tags of Saved View

savedViewData

Error

Contains error information.

Name
Type
Description
code
String

One of a server-defined set of error codes.

message
String

A human-readable representation of the error.

target
String, null

The target of the error.

Error Response

Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.

Name
Type
Description
error

Error information.