# Scripting API for Glance

**URL:** https://discourse.paraview.org/t/scripting-api-for-glance/13847
**Category:** Web Support
**Created:** [February 1, 2024, 8:56pm UTC](https://discourse.paraview.org/t/scripting-api-for-glance/13847 "2024-02-01T20:56:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hbraunDSP](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hbraundsp/32/13513_2.png) [@hbraunDSP](https://discourse.paraview.org/u/hbraunDSP)
#### Post date: [February 1, 2024, 8:56pm UTC](https://discourse.paraview.org/t/scripting-api-for-glance/13847/1 "2024-02-01T20:56:25Z")

</div>

Hi! My team is starting work on a Paraview Glance-based web viewer for some of our 3d polygon data. Currently we’re loading and displaying STL files using the `?url=` syntax when loading the page. We’d like to do things like change 3d model colors programatically before displaying the content on the web viewer. Is Glance able to do this in javascript, and if so what functions do we need to use? Thanks!

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [February 2, 2024, 2:20am UTC](https://discourse.paraview.org/t/scripting-api-for-glance/13847/2 "2024-02-02T02:20:44Z")

</div>

Hi Henry,

Let me redirect you to ask in the Glance subcategory over on the VTK Discourse: [Glance - VTK](https://discourse.vtk.org/c/web/glance/13)

---

<div class="post-metadata">

### Author: ![hbraunDSP](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hbraundsp/32/13513_2.png) [@hbraunDSP](https://discourse.paraview.org/u/hbraunDSP)
#### Post date: [February 2, 2024, 7:00pm UTC](https://discourse.paraview.org/t/scripting-api-for-glance/13847/3 "2024-02-02T19:00:47Z")

</div>

Thanks! I edited this post to be under “Web support” since that is more appropriate. My colleague has also made a duplicate post [Here](https://discourse.vtk.org/t/scripting-api-for-glance/13242) to continue the conversation.
