Re: Launch Dia Script from command line (no GUI)
- From: Carlo Calderoni <calderoni carlo gmail com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: Launch Dia Script from command line (no GUI)
- Date: Fri, 13 Jan 2012 09:11:17 +0100
Take a look at
http://mail.gnome.org/archives/dia-list/2010-June/msg00017.html if you can find something usefull about executing python in dia with no gui.
If you are planning no gui scripts for export, the solution brought by Steffen is the best way IMHO.
2012/1/12 Steffen Macke
<dia diagramr biz>
Hi Wentao,
On 01/11/2012 11:05 PM, wentao zhang wrote:
I want to be able to launch Dia from command line, run scripts where it
manipulates Dia objects from an existing diagram file, save and export to
DXF and PDF and exit - all with no GUI. Is there anyway that this can be
accomplished on Ubuntu?
How do you want to manipulate the Dia objects?
Conversion of an existing a.dia file on the command line into DXF:
dia -e a.dxf a.dia
Into PDF:
dia -e a.pdf a.dia
Regards,
Steffen
_______________________________________________
dia-list mailing list
dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]