I'm quite new to Inkscape and am trying to use it for creating images to send to a label printer. The way this particular printer works is that it requires a wmf for each colour. Fortunately, each colour is solid but the process is rather tedious as I currently create one file with all my layers of the different colours which I then copy the file multiple times (for each colour). Each file I then open and delete the layers I dont want etc etc
I'm not sure what the correct terminology would be but I'm wondering whether Inkscape has the ability to save the visibility of layer states and switch between them. So for example, I could create a state called black and switch off all the other layers which don't contain black. I could then have a state called yellow where only layers containing yellow are visible. I could then work my way through enabling each state and save to a wmf quite quickly.
I realise that each layer might contain more than one colour but I would only use one colour per layer.
The issue you can see is that exported svg do not all have the same size. Two solutions :
1. Add to each layer a hollow rectangle (no fill, no stroke), that will force exports to page size.
2.Create as many pages as layers, select each layer (with object's panel), cut it, move to next page (use dropdown on status bar, bottom of screen, left to coordinates) and do Edit > Paste > Paste on page. Then use Batch export, but export Pages instead of layers. With this solution, you can skip moving objects to layers, but the file may be messy, IMHO.
One problem I'm encountering is then trying to move objects to a layer as Inkscape just crashes and I haven't got to the bottom of it. It doesn't matter whether you use the move to layer command or drag the objects, it still crashes.
Because of this, I'm wondering whether CSS selection would help in any way???
Describe your OS (your computer's Operating System: Mac/Windows/Linux/etc. & version).
Describe if Inkscape was newly installed, or upgraded from an earlier version.
Describe the version of Inkscape and the installer you used (the file you downloaded from the web: .msi/.exe/.zip/appimage/other, PPA/Snap/Flatpak, dmg/other ).
Describe any special hardware being used, like tablet/stylus, external drives or multiple monitors.
Describe any helper/assistive programs or keyboard modifiers (macros, languages, etc.).
A number of crash bugs related to layers were addressed in the latest version.
Tried resetting parameters and there is no change in that it still crashes when moving to layers. I hadn't made any changes from default anyway as once I did the reinstall, I tried it immediately.
Hi,
I'm quite new to Inkscape and am trying to use it for creating images to send to a label printer. The way this particular printer works is that it requires a wmf for each colour. Fortunately, each colour is solid but the process is rather tedious as I currently create one file with all my layers of the different colours which I then copy the file multiple times (for each colour). Each file I then open and delete the layers I dont want etc etc
I'm not sure what the correct terminology would be but I'm wondering whether Inkscape has the ability to save the visibility of layer states and switch between them. So for example, I could create a state called black and switch off all the other layers which don't contain black. I could then have a state called yellow where only layers containing yellow are visible. I could then work my way through enabling each state and save to a wmf quite quickly.
I realise that each layer might contain more than one colour but I would only use one colour per layer.
Is this possible?
Some ideas
Right clic > select same and Right clic > move to layer will help you
Export panel allows you to export selected layers : open Export Panel (File > Export, or
Ctrl
+shift
+E
), choose batch export, tab layers.The issue you can see is that exported svg do not all have the same size. Two solutions :
1. Add to each layer a hollow rectangle (no fill, no stroke), that will force exports to page size.
2.Create as many pages as layers, select each layer (with object's panel), cut it, move to next page (use dropdown on status bar, bottom of screen, left to coordinates) and do Edit > Paste > Paste on page. Then use Batch export, but export Pages instead of layers. With this solution, you can skip moving objects to layers, but the file may be messy, IMHO.
Maybe this: https://inkscape.org/~stefan_traistaru/%E2%98%85batch-export
Hi, thanks for all your suggestions.
One problem I'm encountering is then trying to move objects to a layer as Inkscape just crashes and I haven't got to the bottom of it. It doesn't matter whether you use the move to layer command or drag the objects, it still crashes.
Because of this, I'm wondering whether CSS selection would help in any way???
A number of crash bugs related to layers were addressed in the latest version.
The OS is Windows 11 Pro
Inkscape worked until I tried to use layers at which point it started crashing so was uninstalled and reinstalled with the same issues.
Original version where issue started was v1.4 which was uninstalled and the latest version v1.4.2 installed from the Inkscape website installer.
No specific hardware, just a typical PC with mouse.
No addins, extensions or any programs of any kind.
Next step would be to reset the preferences. https://inkscape.org/forums/questions/getting-back-to-square-one-and-starting-over-its-easy/
(should be done after any Inkscape installation)
Tried resetting parameters and there is no change in that it still crashes when moving to layers. I hadn't made any changes from default anyway as once I did the reinstall, I tried it immediately.
If I understand correctly, you
It must be done in this order to ensure you have a clean installation and updated preferences.
If this is the case and the issue persists, it may be a new bug, and should be reported on the GitLab tracker.
It may be related to another crash bug, that has a simple workaround found here: https://inkscape.org/forums/beyond/unspecified-fatal-error-encountered-aborting/#c77924