Skip to content

ModelOptions

Represents a snapshot of the options for a SketchUp model

readonly 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


readonly 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


readonly 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)

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[]