ModelOptions
Represents a snapshot of the options for a SketchUp model
Accessors
Section titled “Accessors”sceneOptions
Section titled “sceneOptions”Get Signature
Section titled “Get Signature”get sceneOptions():
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
Returns
Section titled “Returns”slideshowOptions
Section titled “slideshowOptions”Get Signature
Section titled “Get Signature”get slideshowOptions():
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
Returns
Section titled “Returns”unitOptions
Section titled “unitOptions”Get Signature
Section titled “Get Signature”get unitOptions():
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)
Returns
Section titled “Returns”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[]