On 10/17/07, John Bintz <jcoswell@...1414...> wrote:
Hello. I'm trying to write an Effect extension that will allow the creation of cover templates for perfect bound books, which involves changing the document properties and adding guides lines to the current document. I have a Ruby script and an .inx file set up correctly, and when I examine the XML output from the script, the SVG that is returned is correct. When this file is written back to stdout at the end of the script, no changes occur within Inkscape.
And if you look into XML editor? are the changes there?
My guess is that things in namedview are simply not reread, because they are not SPObjects and therefore lack the automatic read-from-repr-on-change machinery that SPObjects have. Perhaps you just need to add a hook to recreate namedview object from repr after each effect runs.