On 6/9/20 6:21 AM, ale rimoldi wrote: > hi > >> I guess a scribus scripter API function would be helpfull >> to convert points to cm or inches > > mmm.... in a script you can set the current unit at any time... > > most scripts that modify sizes read the current unit at the beginning, > change it to the author's one and restore the original unit at the end > of the script (hoping not to crash...)
Hi ale, In this case, the getImageOffset() command will only return points, not the page units. Greg ___ Scribus Mailing List: scribus@lists.scribus.net Edit your options or unsubscribe: http://lists.scribus.net/mailman/listinfo/scribus See also: http://wiki.scribus.net http://forums.scribus.net