Set Object Position Via Commandline?

General discussions about Inkscape.
James777
Posts: 12
Joined: Tue May 05, 2009 8:40 pm

Set Object Position Via Commandline?

Postby James777 » Fri Apr 26, 2013 12:19 pm

Hi, i was just wondering can you set the X or Y position of a selected object/item via the commandline? I looked online and saw that you can get the position etc but i could not find a way to actually set it so i was wondering if this is possible? Many thanks

Ailurus
Posts: 115
Joined: Fri Oct 22, 2010 9:53 am
Location: The Netherlands
Contact:

Re: Set Object Position Via Commandline?

Postby Ailurus » Fri May 03, 2013 6:04 am

Hi, I don't even know how to obtain the position of an object from the terminal (could you provide us with an example :D), but the first thing I thought of was to use a regular expression to get or set the position of an object (provided that the object of interest has some unique property like a name). Does that help?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Set Object Position Via Commandline?

Postby ~suv » Fri May 03, 2013 6:46 am

Ailurus wrote:Hi, I don't even know how to obtain the position of an object from the terminal (…)

Inkscape » Using the Command Line » Query Command Line Options

(and no, one cannot 'set' the position via inkscape command line arguments, one can only _query_ position and bbox size of an individual object per ID, or of all objects of the SVG file)


Return to “General Discussions”