Hi,

in short:
When using the 'label' keyword in server manager XML and its value contains 
parentheses, the according object is missing in python. Is this a bug or a 
feature?

longer version including recipe:
Consider ParaView3/Examples/Plugins/Writer, replace its CMakeLists.txt with the 
version attached such that cmake does not complain any more if the plugin is 
built standalone against a PV build using CVS version as of last night and give 
one of the *VectorProperty tags a label, extend e.g.:

      <IntVectorProperty name="Compression"
                         command="SetCompression"
                         number_of_elements="1"
                         default_values="1">

to

      <IntVectorProperty name="Compression"
                         command="SetCompression"
                         number_of_elements="1"
                         default_values="1"
                         label="Compression (foo is advised)">

compile, invoke pvpython and run the following:
>>> from paraview.simple import *; 
>>> paraview.servermanager.LoadPlugin("./libMyTiffWriter.so"); connection = 
>>> servermanager.Connect(); dir(servermanager.writers.MyTIFFWriter)

If the label contains parentheses, the list generated by 
'dir(servermanager.writers.MyTIFFWriter)' will be one item short: there is no 
"Compression" any more.
Is this a known restriction to the use of 'label' in server manager XML?

Thanks
Karl
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to