On Thu, Jun 7, 2012 at 11:44 AM, Tuan Ha Tran <[email protected]> wrote: > That really helpful your reply. > But, I always have errors with > =========================================================== > > <DoubleVectorProperty name="OpThreshold" command="SetOpThreshold" > number_of_elements ="1" default_values="0"> > </DoubleVectorProperty> > And normaly, I can entre a value in a box in ParaView GUI. but I have a > Core Dump, here is what I have as error : > > paraview: > /home/thtran/PV/ParaView/src/ParaViewCore/ServerImplementation/vtkSIProxy.cxx:453: > virtual bool vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*): Assertion > `!name.empty() && this->GetSIProperty(name.c_str()) == __null' failed. > Aborted (core dumped) > ============================================================= > > It's just a simple tab for Adding GUI parameters, so I don't know where is > the error comes from. There is nothing "empty" as we analyse the error. >
Look at the comments above vtkSIProxy.cxx:453 // Since the XML is "cleaned" out, we are assured that there are no duplicate // properties. You have duplicated property name, "OpThreshold". Try to use "OpThresholdInfo" for "GetOpThreshold" Yumin _______________________________________________ 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
