Layer ids and layer labels are not the same thing in Inkscape. You need the id to be able to select an object on the command line.
'Layer2' is neither the id nor the label (capitalization matters for ids, and for the label, a space would be missing).
Check the id by selecting the layer in the objects dialog, then open the XML editor where it will show the layer group selected, and its id.
Maren
Am 27.07.22 um 05:53 schrieb jindam, vani:
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
it shows error: inkfileexportcmd::do_export_ps_pdf: object path4183 not found in document, nothing to export.
if i substitute "path4183" with "Layer2" it shows same error
however, when i run $ inkscape 584.svg -l --export-type=pdf -o er.pdf the pdf contains: Layer1: circle, Layer2: rectangle
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