Skip to content

ModelOptions

Represents a snapshot of the options for a SketchUp model

get sceneOptions(): SceneOptions

Returns the scene options in a convenient wrapper with correctly typed values

SDK 1.18.0

Error if the PageOptions (the underlying name) aren’t found

SceneOptions


get slideshowOptions(): SlideshowOptions

Returns the scene options in a convenient wrapper with correctly typed values

SDK 1.18.0

Error if the PageOptions (the underlying name) aren’t found

SlideshowOptions


get unitOptions(): UnitOptions

Returns the unit options in a convenient wrapper with correctly typed values

Error if the UnitsOptions aren’t found (this should not happen)

UnitOptions

get(key): OptionsProvider

Parameter Type

key

string

OptionsProvider


has(key): boolean

Parameter Type

key

string

boolean


refresh(): Promise<ModelOptions>

Returns a new snapshot of this options provider

Promise<ModelOptions>

the new snapshot

SDK 1.18.0


toArray(): OptionsProvider[]

OptionsProvider[]