jiho schrieb:
On 2007-October-17 , at 15:49 , Akki Nitsch wrote:
can anybody tell me if there is a possibility to select objects like curves and lines by their stroke-paint and/or their stroke-style? Is such a feature available or planed?
You can use the Edit > Find command for this.
The reason why I'm searching for this feature is this: I'm a technical writer and sometimes I've got to put technical drawings from CAT-systems into my documentations. I've read in the inkscape- roadmap that their is a dxf-import/export planed for version 0.51 and it would be nice to work with this files in inkscape. The lines in this documents have got different colours and different strokes that have got different meanings - in most cases i put all this colours into black for printed documentation - the meaning of the colours isn't important at most places and its easier to read than all lines are black. To still keep the information in that drawings (this is useful in some cases) i differ the width of the stroke e.g. all red lines -> 0.25mm, all green lines -> 0.21mm … In Illustrator this is possible by selecting all objects by stroke- paint and stroke-style.
I would do: Select a red line In the bottom left color indicator, right click > copy color Edit > Find (CTRL+F) In "Style" paste the color (CTRL+V) [Edit search criteria further if you need to, e.g. only search paths, ...] Click Find -> All objects with this color are selected
Nice trick, didn't know that - but a better dialog for that would be nice. I would like to select one object and search for objects with the same attributes. It would be nice to have a better dialog there i can give the different attributes like stroke-paint, stroke-style and so on to (or is it possible to combine different attributes and styles in the find-dialog? Even if i could combine them with boolean operators - it would be quiet clumsy, especially for "normal user".
Open Fill and Stroke dialog (SHIFT+CTRL+F) Change stroke width and color (Or shift click in the swatches to change stroke color)
Well, okay, this works for small counts of objects and if I've got to select objects only by their colour - but there is no chance to select them by stroke. Don't get me wrong: I'm not looking for such a possibility too hard - I only wanted to make clear that this feature is missing and I'm gonna make a suggestion to the developer-list for that.
This would fail if you have some red filled objects that you don't want to touch: they would be selected also. But you can toggle their selection as usual before changing strokes.
Well, i could toggle their selection - but in technical plans there often are a lot of objects - and so it wouldn't be practicable.
Furthermore, to ensure easy modification later, I would move all objects of the same kind on a different layer (For the case where you decide that you would like to change stroke width from 0.25 to 0.3 for example). You could always come back and do the same "Find" thing on stroke width but dealing with layers seems easier to me.
Good idea! But first I've got to get objects of the same type in my (given) document to put them on different layers.
Well, than this feature doesn't exists I'll post this suggestion into the developer-mailinglist. It would be great than this actions would be available at the same time with the dxf-import/export.
I think there is already some dxf import-export functionality present in Inkscape.
Well, that's true and not true at all. There is a Plug-in that could be installed and that uses dxf2svg, a program coded by Matt Squires http://oerks.net/~colin/dxf2svg/
He (and I) got it to run under Linux, but the Plugin doesn't work right for me under Win and Mac OS.
Furthermore I've experimented with different dxf-files yesterday and now i know, that there are a lot of different types of them. I was able to import a dxf-File that i created with qcat http://www.ribbonsoft.com/qcad.html but only if i saved it as an "drawing Exchange DXF R12"-file. The other dxf-Filetype that qcad saves can't be imported into inkscape - all the files that I've got from autocad either. So, the dxf-import in inkscape is not really usable :-(
Regards
Akki Nitsch