I am loading the following vtkjs file on Paraview Glance. Everythng works fine except the dataset named “Grid”. I have added two scalars to this data and they can be seen in Glance.
The question is why I don’t see the scalar loaded when I see in the index.json file that for this dataset “colorByArrayName” property is set to one of the scalars?
My expectation is that when I load the resulting .vtp file in Paraview Glance it should color the points with the scalar that I set as an active scalar. But it doesn’t. Why?
The vtkjs format should have worked and it used to work. The same should be true with custom color range defined in PV, those should be kept as well rather than recomputed the full scalar range. @Forrest_Li
I’ve just merged it after some more testing. The changes should be live shortly on the nightly build; do let me know if the active scalars are still not being picked up.
I’ve made updates to Glance and the public instance of it. I loaded your file and it seems to work; do try it out and let me know if something is still not working.
Note: you may need to clear out the application cache via devtools or a hard reload.