[Paraview] hiding intermediate filters created from python
Stephane PLOIX
stephane.ploix at edf.fr
Fri Jul 9 10:22:00 EDT 2010
Hi,
I have made a script that creates a bunch of sources and filters (to use
as legends), and finishes by an append filter to which everything is
appended.
Only this last append filter has a representation.
I would like to have only one entry in the pipeline browser for the last
append filter, and completely hide the steps used to create the legend, is
it possible from python?
If I try to encapsulate all this in a custom filter to show only the
append filter as output, it does not work either.
Thanks,
Stephane
typical script :
text0 = a3DText()
text0.Text = "0"
trans0 = Transform()
trans0.Transform = "Transform"
trans0.Transform.Scale = [1, 1, 1]
trans0.Transform.Translate = [0, 0, 0]
text1 = a3DText()
text1.Text = "1"
trans1 = Transform()
trans1.Transform = "Transform"
trans1.Transform.Scale = [1, 1, 1]
trans1.Transform.Translate = [1, 0, 0]
append = AppendDatasets( Input=[trans0, trans1] )
pres = Show(append)
Stephane PLOIX
Pilote Opérationnel - Visualisation scientifique
EDF - R&D
SINETICS
1, Av du Général de Gaulle
92140 Clamart
stephane.ploix at edf.fr
Tél. : +33 (0) 1 47 65 51 10
Un geste simple pour l'environnement, n'imprimez ce message que si vous en
avez l'utilité.
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100709/82e64b81/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1816 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100709/82e64b81/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1151 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100709/82e64b81/attachment-0003.gif>
More information about the ParaView
mailing list