Selecting objects with same stroke-paint and/or same stroke-style
Hi everyone,
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?
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.
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.
Regards
Akki Nitsch
############################################ The freedom of meaning one thing and saying something different is not permitted.
E.W. Dijkstra
Andreas "Akki" Nitsch, Dipl.-Inform. (FH) Goethestr. 11 36329 Romrod akki@...2368... Mobile: 0171/ 54 12 63 1
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 Open Fill and Stroke dialog (SHIFT+CTRL+F) Change stroke width and color (Or shift click in the swatches to change stroke color)
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.
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.
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.
JiHO --- http://jo.irisson.free.fr/
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
On 2007-October-18 , at 12:34 , Akki Nitsch wrote:
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.
In fact, the find dialog allows you to find everything you want, you just have to know the search syntax. And the beauty of having a human- readable format is that it is easily discoverable. My last email was just a quick introduction to the feature but you _can_ search for objects stroked with a specific color, or of specific height, or with a stroke of specified size etc. To know what to search for, select one object that fits your search criteria, open the xml editor in which this specific object will be showed, and look for the syntax used to define your search criteria. For example you can search for object with a black stroke: Style: stroke:#000000 or of stroke size 2 pixels: Style: stroke-width:2 etc. The search does not appear to support boolean operation or more generally regular expressions that would allow very complex selections but that's probably not the intend of a drawing application. A better answer to this problem would be a (graphical) selection editor.
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.
You could use finer search criteria.
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.
By the way, layers are just a special kind of group if I am not mistaken, so once you've selected all objects, you can just group them (CTRL+G) and they will behave the same. This will probably be easier in your case. Plus you can set some fill and stroke attributes at group level if you want to affect all objects in the group.
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 :-(
OK, this I am totally ignorant about ;)
JiHO --- http://jo.irisson.free.fr/
participants (2)
-
Akki Nitsch
-
jiho