Hi Yumin, Thank you for your reply. Yeah, I didn't pay attention, my Property name is duplicated. I have OpThreshold with command="SetOpThreshod" and command="GetOpThreshold" as well. I modified this and there is no more error.
----- Original Message ----- From: Yumin Yuan <[email protected]> To: Tuan Ha Tran <[email protected]> Cc: David E DeMarle <[email protected]>, [email protected], [email protected] Sent: Thu, 07 Jun 2012 17:53:02 +0200 (CEST) Subject: Re: [Paraview] ParaView Plugin .xml how to On Thu, Jun 7, 2012 at 11:44 AM, Tuan Ha Tran wrote: > That really helpful your reply. > But, I always have errors with > =========================================================== > > <doublevectorproperty name="OpThreshold" command="SetOpThreshold" > > number_of_elements ="1" default_values="0"> > > 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
