[vtkusers] VTKPythonAlgorithm Assistance

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Sep 11 20:29:15 EDT 2018

You;re simply missing a call to `reader0.UpdateInformation()` in your
VTKPythonAlgorithm subclass. You're doing that correctly when directly
using the vtkExodusIIReader.

On Tue, Sep 11, 2018 at 12:11 PM Andrew E. Slaughter
<andrew.slaughter at inl.gov> wrote:
> I am using VTK7.1 on MacOS High Sierra, installed via miniconda to create a tool for reading Exodus files. I would like to create a VTKPythonAlgorithm object to create an interface to common operations and plug into the proper VTK pipeline. I am having trouble getting variable data to be mapped. The attached script demonstrates the problem.
> When using the VTKPythonAlgorithm the call to vtkPolyDataMapper::SetColorArray doesn't seem to trigger the proper mapping.
> I would appreciate assistance getting this problem corrected.
> Thanks,
> Andrew_______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list