ModelOptions
Represents a snapshot of the options for a SketchUp model
Properties
Section titled “Properties”sceneOptions
Section titled “sceneOptions”
readonlysceneOptions:SceneOptions
Returns the scene options in a convenient wrapper with correctly typed values
SDK 1.18.0
Throws
Section titled “Throws”Error if the PageOptions (the underlying name) aren’t found
slideshowOptions
Section titled “slideshowOptions”
readonlyslideshowOptions:SlideshowOptions
Returns the scene options in a convenient wrapper with correctly typed values
SDK 1.18.0
Throws
Section titled “Throws”Error if the PageOptions (the underlying name) aren’t found
unitOptions
Section titled “unitOptions”
readonlyunitOptions:UnitOptions
Returns the unit options in a convenient wrapper with correctly typed values
Throws
Section titled “Throws”Error if the UnitsOptions aren’t found (this should not happen)
Methods
Section titled “Methods”get(
key):OptionsProvider
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”has(
key):boolean
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”boolean
refresh()
Section titled “refresh()”refresh():
Promise<ModelOptions>
Returns a new snapshot of this options provider
Returns
Section titled “Returns”Promise<ModelOptions>
the new snapshot
SDK 1.18.0
toArray()
Section titled “toArray()”toArray():
OptionsProvider[]