Re: [Paraview] Save State/adding custom property

2016-05-31 Thread michal wozniak
That's exactly what I was looking for. thanks a lot for the great support !!! > Date: Mon, 30 May 2016 08:10:48 -0400 > Subject: Re: [Paraview] Save State/adding custom property > From: utkarsh.ayac...@kitware.com > To: michalwozn...@live.ca > CC: paraview@paraview.org > >

Re: [Paraview] Save State/adding custom property

2016-05-30 Thread Utkarsh Ayachit
There's a preexisting feature called "annotation" that vtkSMProxy supports via the following API. Seems to me that'd map well to what you're trying to do with the "user" property. void SetAnnotation (const char *key, const char *value) const char * GetAnnotation (const char *key) void

[Paraview] Save State/adding custom property

2016-05-29 Thread michal wozniak
Hi everyone, I am trying to add a custom property to the state xml. For eg: I loaded object.stl and did a slice on it. Then, I saved the state and went to look at the XML. I want to add an extra property called "user" the extra property will be added during the