[email protected] wrote:

> Hi Jeremy,
> I used the workaround you suggested and it works fine.
> Another little question: in the header of my data file I have some rows,
> useful for plotting and manipulating data, stored in the form:
> SampleFrequency = xxxyyyHy
> I'd like to use them in order to crate Vuesz constants. Is there a way
> to create constants programmatically in an importPlugin?

Unfortunately I can't see a way to do that with the current API. You'd need 
to get access to the document object, which isn't exposed. It's definitely a 
useful thing to add however. Maybe the import function could also return 
some sort of ImportConstant objects with the datasets... I'll have a look.

Jeremy





_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à