I have had some limited success using commands like this:

inkscape \windows\temp\sample.svg -i "layer2" -o \windows\temp\sample2.pdf
inkscape \windows\temp\sample.svg -i "layer1" -o \windows\temp\sample1.pdf
inkscape \windows\temp\sample.svg -i "layer3" -o \windows\temp\sample3.pdf

this allows me to export individual objects identified in the "-i" option. In order to find the correct name for these objects, search for them using the XML editor.
If this is not sufficient for your case, then I would suggest filing a bug report at
Issues · Inkscape / Inbox · GitLab

Cheers,
Alvin
..............................................................................

On 7/27/2022 12:10 AM, jindam, vani wrote:

On 26 July 2022 12:33:17 PM UTC, Alvin Penner <penner@vaxxine.com> wrote:
try something like this:

inkscape \windows\temp\test2.svg -i "path4183" -o \windows\temp\testout2.pdf

the file "sample.png" is located on https://gitlab.com/inkscape/inkscape/-/issues/584

i am trying to export using  "sample.png" file

On 7/26/2022 8:14 AM, jindam, vani wrote:
On 26 July 2022 11:11:03 AM UTC, Alvin Penner <penner@vaxxine.com> wrote:
have you tried: inkscape --help ?
before asking here, i took two steps:

s1 : i tried inkscape 584.svg -i "layer2" -a 121.pdf
* output: error parsing option -a
s2: i have run inkscape --help
i could not understand about "option a"

i am completly new to this and assumed
something has changed with commands

hence the question

On 7/26/2022 2:15 AM, jindam, vani wrote:
when i run
$ inkscape 584.svg -i "layer2" -A 121.pdf

it shows
Unknown option -A

i copied above command from inkspace
issue tracker (issue #584).

i am on Inkscape 1.2.1 (9c6d41e410, 2022-07-14)

on electronic mailing list .....
jindam, vani
_______________________________________________
Inkscape Users mailing list -- inkscape-user@lists.inkscape.org
To unsubscribe send an email to inkscape-user-leave@lists.inkscape.org