Browser Support
How to make Apps run in the Web Viewer
Last updated
How to make Apps run in the Web Viewer
Last updated
The ability to run your apps in the Web Viewer is a great feature that opens up a lot of possibilities for collaboration and sharing. You can share multiple iterations of your app with teammates and clients and modify your geometry on the go without having to wait for the heavy files to load on your desktop or deal with multiple software installations and requirements. You can even run your apps on the mobile device, create a Saved State and instantly share it.
The following page will take you through the requirements that need to be met in order to run your app in the Web Viewer.
Default Saved States allow Swarm Apps that require input geometry to run in the Web Viewer. Each App can have a default Saved State, which will be loaded when the App is launched in the Web Viewer or a Desktop Client.
It is up to the App's author to set the default Saved State for each App. Apps without a default Saved State will not run in the Web Viewer, and will load with empty geometrical inputs and default [slider, text box, toggle] values.
When you first Create an App (and if/when you subsequently edit the App) using the Rhino Client, we're presenting you with the option to create a default Saved State using the current input and output values.
If you choose 'Nah', you can come back later and create a Saved State in a Desktop Client, and set it as the default in the Web App.
Once an App has some Saved States, the default Saved State can be set in the Web App.
Go to the Saved States tab in the App's page, select a State from the table, and click the 'MAKE DEFAULT' button.
Even though the geometry inputs are visible in Web Viewer, the user is not able to reference anything here, the geometry has to come from somewhere else in order for the App to run. Saved States to the rescue! To adjust the visualization options for the input geometry, use the Layers menu in the Web Viewer.
Users are able to preview the generated geometry in the Web Viewer as well as download it as .3dm file from the Snapshots menu of the App Parameters panel. To adjust the visualization options for the output geometry, use the Layers menu in the Web Viewer.
The app in browser runs in the same units that the app was originally created.