Re: [Paraview] Information Only Property Parameters

2011-03-24 Thread Sebastien Jourdain
Hi Brian, I'm not sure to understand your UI and the way the things are. It might be overkill, but if you want to express those dependency, you can create your own domain based on what it is filled so far so at start only TypeList will be available, then TypeList + DataTypeList and then TypeList

Re: [Paraview] Information Only Property Parameters

2011-03-24 Thread Brian Panneton
I was able to get it working by using SetElement and setting the currentText retreived from the widget. Then I called UpdateProperty on the first combobox. Next I called UpdatePropertyInformation on the second combobox. For the order issue, I just ended up renaming them so they followed the order

Re: [Paraview] Information Only Property Parameters

2011-03-24 Thread Sebastien Jourdain
I'm happy to hear that you managed to solve your issue. On Thu, Mar 24, 2011 at 4:00 PM, Brian Panneton brian.panne...@gmail.com wrote: I was able to get it working by using SetElement and setting the currentText retreived from the widget. Then I called UpdateProperty on the first combobox.

[Paraview] Information Only Property Parameters

2011-03-23 Thread Brian Panneton
If I have an information_only property with a command to get a vtkStringArray, is there a way to pass a parameter to the fuction? And, can that parameter be from another property? Otherwise, it seems that I would need to push the variable to the server in order for it to be available for the

Re: [Paraview] Information Only Property Parameters

2011-03-23 Thread Sebastien Jourdain
Unfortunately that's the way you have to do it. Or the other way is to use GatherInformation() but it won't be much better. On Wed, Mar 23, 2011 at 10:23 AM, Brian Panneton brian.panne...@gmail.com wrote: If I have an information_only property with a command to get a vtkStringArray, is there a

Re: [Paraview] Information Only Property Parameters

2011-03-23 Thread Brian Panneton
Okay, my attempt to push the variable to the server using immediate_update=1 seems to not update the server variable when I change my current index of a combobox. I also tried to call Modified() on the currentIndexChanged event, but it seems to ignore the changes from the GUI and reset the

Re: [Paraview] Information Only Property Parameters

2011-03-23 Thread Sebastien Jourdain
Hi Brian, could you send the (part of) XML proxy definition and the piece of code you are calling to that proxy to make that push... So I could be sure that both side are corrects. Thanks, Seb On Wed, Mar 23, 2011 at 11:32 AM, Brian Panneton brian.panne...@gmail.com wrote: Okay, my attempt to

Re: [Paraview] Information Only Property Parameters

2011-03-23 Thread Brian Panneton
This XML is of two comboboxes, where the first depends on the second's selection. XML: StringVectorProperty name=DataTypeList command=GetReaderDataTypeList information_only=1 StringArrayHelper /