How to set new id for an object by command line

Post questions on how to use or achieve an effect in Inkscape.
java1cprog
Posts: 1
Joined: Wed Mar 14, 2012 5:02 pm

How to set new id for an object by command line

Postby java1cprog » Wed Mar 14, 2012 5:45 pm

Hi everyone!
I would like to set new ID for an object in Inkscape 048.2 by command line.

At first a select an object:

Code: Select all

--select=id_text
.
Then I do some object changes:

Code: Select all

--verb=ObjectToPath  --verb=SelectionUnGroup  --verb=SelectionUnion
.
Ok. It's worked perfectly!
Then I have to do renaming new object (I would like to set new ID for it).
I don't understand how to do that.
"--verb-list" has a useful "verb" - "DialogObjectProperties" , which "edit ID, locked and visible status, and other object properties".
I don’t understand how to use it correctly.
My unsuccessful attempts:

Code: Select all

--verb=DialogObjectProperties-id=id_text

Code: Select all

--verb=DialogObjectProperties-id="id_text"

Code: Select all

--verb=DialogObjectProperties-id='id_text'

Code: Select all

--verb=DialogObjectProperties --verb=DialogObjectProperties-id='id_text'

The result - ID don't changed.
Please, show me how to use this verb for ID changing.

Return to “Help with using Inkscape”