[Paraview-developers] servermanager XML

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Jan 6 01:24:00 EST 2015


Don't know exactly your implementation, but you may need a clear command. Otherwise you can only grow and replace the existing set of values. 

Seb

Sent from my iPad

> On Jan 5, 2015, at 23:24, Daniel Wilches Maradey <dwilches at gmail.com> wrote:
> 
> Hi,
> 
> I tried with these values:
>      33
> and
>      length;33
> 
> And in both cases when I did this in the script:
>      print length
> It continued to print the same "2" that was printing before.
> 
> Thanks.
> 
> --
> Daniel Wilches
> 
> 
> 
> On Mon, Jan 5, 2015 at 9:22 PM, Sebastien Jourdain
> <sebastien.jourdain at kitware.com> wrote:
>> What was the new value that you put for that property?
>> 
>> Seb
>> 
>>> On Jan 5, 2015, at 19:34, Daniel Wilches Maradey <dwilches at gmail.com> wrote:
>>> 
>>> Hello,
>>> 
>>> I'm facing the same problem, the documentation that I can find online
>>> is very scarse, for example I don't see any page where they explain
>>> which XML elements can go inside of the ServerManager configuration
>>> file.
>>> 
>>> I checked those 2 files suggested by Sebastien but I don't find
>>> helpful the documentation inside either file.
>>> 
>>> What I'm trying to do is also a plugin, and I have found examples like
>>> this that don't work as expected:
>>> 
>>> <StringVectorProperty
>>> name="xyz"
>>> command="SetParameter"
>>> number_of_elements="2"
>>> default_values_delimiter=";"
>>> default_values="length;2">
>>> </StringVectorProperty>
>>> 
>>> When I put that in my XML it shows a field in the GUI, and my code
>>> says that  the value of "length is 2", but if I change the value and
>>> click "Apply" I see that the value of the parameter "length" is not
>>> being updated.
>>> 
>>> Where can I find information as for why that doesn't work or how should be done?
>>> 
>>> Thanks.
>>> 
>>>> Hi Patrik,
>>>> 
>>>> you can also find some documentation in the vtkSMProxyManager.h and
>>>> vtkSMProxy.h files.
>>>> 
>>>> Seb
>>> 
>>> 
>>>> On Fri, Apr 29, 2011 at 9:48 AM, pratik <pratik.mallya at gmail.com> wrote:
>>>> Hi,
>>>> Where can i find a good resource to learn server manager configuration XML?
>>>> Currently, the paraview Guide seems to be the only source, but since it is
>>>> currently beyond my means to obtain a copy, i was looking for an another
>>>> place (a wiki or a tutorial?).
>>>> I wanted this for the purpose of creating a user-plugin. The wiki (about
>>>> plugins)is really good, but there is no detailed explanation of the syntax
>>>> of the server manager xml.
>>>> 
>>>> pratik
>>>> _______________________________________________
>>>> 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
>>> _______________________________________________
>>> Paraview-developers mailing list
>>> Paraview-developers at paraview.org
>>> http://public.kitware.com/mailman/listinfo/paraview-developers


More information about the Paraview-developers mailing list