PresentationJSON

Gets and sets a JSON describing a presentation. When a presentation is created in the TerraExplorer user interface, this property can be used to retrieve a JSON that defines this presentation. SeePresentations” chapter in the TerraExplorer User Manual. When creating a presentation using the API, the JSON must be written according to the schema defined in PresentationJSONSchema.

This JSON must include a base presentation object. This object has five properties:

§   description (required) – Name of the presentation as displayed in the Project Tree

§   id – Presentation ID

§   settings – Presentation settings that determine whether presentation loops, how it advances between steps, and more. SeeSettingsJSON” in this chapter for more information.

§   steps (required) – An array made up of PresentationStep objects, representing each presentation step and action.

§   movieSettings - Movie settings that determine frame size, frames per second, and overlay display.

Basic JSON Structure Example:

{

    “presentation”: {

        “description”:” Close Range Project”,

        “id”: “0_24136”,

        “settings”: {…

        },

        “steps”: [

        ]   

        “movieSettings”: [

        ]   

     }

}

 

 

JSON Example Showing Step:

{

    "presentation": {

        "description":" Close Range Project",

        "id": "0_24136",

        "settings": {

            "loopPresentation": false,

            "unattendedPlayMode": false,

            "chainedflightModel": true,

            "playSpeedFactor": 1.0

        },

        "steps": [

            {

                "description":"Step",

                "actions": [

                    {

                        "description": "Hide CellTower ©Airmap",

                        "actionType": "Hide",

                        "options": {

                            "pathToGroup": "3D City Models\\Close-Range Projects\\CellTower ©Airmap"

                        }

        ]   

        “movieSettings”: [

        ]   

     }

}

 

 

JavaScript

 

PresentationJSON

 

C#

 

string PresentationJSON { get; set; }

 

C++

 

HRESULT PresentationJSON ([in] BSTR pVal)

HRESULT PresentationJSON ([out,retval] BSTR pVal)