export web scene
export web scene connects via the view port and writes all objects in your view as a C Tech Web Scene (*.ctws), a single file which you and your customers can load and view in the C Tech Web Viewer.
Details on its use are at How to Create C Tech Web Scenes.
CTWS files always store true (unexaggerated) elevations. The web viewer applies the scene’s Z Scale as a live display exaggeration, and the scene opens at the Z Scale of the exporting viewer.
Warnings:
- DATAMAPS ARE USED FOR PROBING: When using unlinked values (Min and Max) such that the resulting datamap is a subset of the true data range, probing in C Tech Web Scenes will only be able to report values within the truncated data range. Values outside that limited range will display the nearest value within the truncated range. This applies to the use of the Datamap parameters in post samples or when the data range is truncated by clipping in the estimation modules or with the change minmax module.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | View | View | The view containing all associated renderable objects. |
| Input | String 1 | String | A string to use as a variable. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The name of the output CTWS file to generate. |
| Favorite Bookmarks | Boolean | Favorite Bookmarks in the resulting Web Scene. |
| Favorite Preset Views | Boolean | Favorite Preset Views in the resulting Web Scene. |
| Compress Output | Boolean | Turning Compress Output off disables compression for the entire CTWS scene. If on, compression for individual modules can still be selectively excluded via red port options. |
| Disable Z Scale | Boolean | When selected, the resulting Web Scene hides the viewer’s Z Scale control, so the scene always displays at the Z Scale it was exported at. |
| Include Preview Image | Boolean | When selected, a preview image is written into the CTWS file for easier display while file browsing in Windows Explorer and EVS. |
| Full Size Preview Image | Boolean | When selected and Include Preview Image is selected, the image will be saved at the resolution of the viewer. Otherwise a smaller default resolution will be used. |
| Run Sequences | Boolean | When selected, sequences will be run during the export process and their individual output will be included in the CTWS file. If not selected, only the current sequence state will be exported as a group object. This can be useful for testing purposes before exporting to a final CTWS. |
| Restore Application Sequence States | Boolean | When selected, sequences will be restored to their initial state. This can save runtime if you don’t need a specific sequence state to be active. Otherwise, sequences will be left in their last state. |
Scene Information
| Property | Type | Description |
|---|---|---|
| Description | Expression | Sets the description in the output scene. Can use the {S1} variable. |
| Author | Expression | Sets the author name on the output scene. Can use the {S1} variable. |
| Organization | Expression | Sets the organization name on the output scene. Can use the {S1} variable. |
| Project | Expression | Sets the project displayed in the output scene. Can use the {S1} variable. |
| Status | Expression | Sets the status displayed in the output scene. Can use the {S1} variable. |
| Restrictions | Expression | Sets the restrictions displayed in the output scene. Can use the {S1} variable. |
Variables
| Property | Type | Description |
|---|---|---|
| S1 | String | A string value that can be used as the variable {S1} in the expressions. |
Export Stage Script
| Property | Type | Description |
|---|---|---|
| Script Filename | File | The Python script called during the different stages of the export. This is intended to be used with evs.get_export_stage() to allow operations to occur during the export process. A new script can be created from a default template containing handlers for the start, end, sequence, and module stages. |