[Paraview] Troubles with exporting selection labels from current ParaView render view

Nenad Vujicic nenadus at gmail.com
Wed May 20 11:07:15 EDT 2015


Utkarsh,

Thank you very much for help, but, it still doesn't work. At Ln 118 it
fails and reports in Output Window 'Missing required attribute.' and
returns NULL.

Thanks for any help!

Nenad.

On Wed, May 20, 2015 at 4:10 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
>> I want to say DataRepresentationCreated is never called! When I create
>> instance of my pipeline source with this source code, I get only 3
>> messages: "Source Created", and 2 times "Representation Added" after
>> pushing Apply button.
>
> Ah ok. That's because pqObjectBuilder no longer creates the standard
> representations for ParaView. A better signal to observe is
> pqServerManagerModel::representationAdded(). You're already observer
> sourceAdded from the ServerManagerModel. You'll need to qobject_cast<>
> to pqDataRepresentation* in your slot, for same effect as before.
>
> Utkarsh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EventHandlers.zip
Type: application/zip
Size: 3075 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150520/4c27dacf/attachment-0001.zip>


More information about the ParaView mailing list