# export-scene-macro on Mac

**URL:** https://discourse.paraview.org/t/export-scene-macro-on-mac/4410
**Category:** ParaView Support
**Created:** [May 25, 2020, 3:19pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410 "2020-05-25T15:19:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Matt](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@Matt](https://discourse.paraview.org/u/Matt)
#### Post date: [May 25, 2020, 3:19pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410/1 "2020-05-25T15:19:59Z")

</div>

Hi, I’m trying to run the export-scene-macro macro on ParaView on a Mac (Mojave) and I get the following error:

> Traceback (most recent call last):  
> File “”, line 31, in   
> ImportError: No module named vtkFiltersGeometryPython

Any thoughts on the best way to address this?

Thanks!  
Matt

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [May 25, 2020, 3:43pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410/2 "2020-05-25T15:43:39Z")

</div>

This macro as been replaced by an integrated export to vtkjs inside the UI of ParaView proper 5.6+

Otherwise, this can be solved by importing `vtkFiltersGeometry` instead of `vtkFiltersGeometryPython`. Although, there might be more import to fix with later ParaView 5.7 and 5.8.

---

<div class="post-metadata">

### Author: ![Matt](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@Matt](https://discourse.paraview.org/u/Matt)
#### Post date: [May 25, 2020, 4:17pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410/3 "2020-05-25T16:17:16Z")

</div>

Thanks for the quick reply! I can export a vtkjs file with the UI but when I load that file into SceneExplorer, there are problems with the coloring. I’ve tried to attach a screen shot below:

 ![Screen Shot 2020-05-25 at 12.14.44 PM](https://discourse.paraview.org/uploads/default/original/2X/d/d53a7b4904a85fdbe08d5c6df7939c906a127d94.jpeg)

---

<div class="post-metadata">

### Author: ![Matt](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@Matt](https://discourse.paraview.org/u/Matt)
#### Post date: [May 25, 2020, 4:58pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410/4 "2020-05-25T16:58:49Z")

</div>

The switch from vtkFiltersGeometryPython to vtkFiltersGeometry in the macro seems to have done the trick for me, thanks!

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [May 25, 2020, 7:16pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410/5 "2020-05-25T19:16:08Z")

</div>

You can use [ParaViewGlance](https://kitware.github.io/paraview-glance/app/ParaViewGlance.html) to look at it.

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [May 25, 2020, 7:28pm UTC](https://discourse.paraview.org/t/export-scene-macro-on-mac/4410/6 "2020-05-25T19:28:44Z")

</div>

The reason is that the SceneExplorer does not know how to decode the lookup table as with the export we keep the actual fields rather than converting the rgba color like it is done in the macro.
