Select only Largest Lineart Path
Select only Largest Lineart Path
After adding a trace path and the results have multiple Sub paths, how can I select ONLY the Largest OR all of the smaller paths? The attached image shows my goal of Adding the Biggest Path in Red to one Layer and All Smaller Sub Paths in Green to another.
- Attachments
-
- Paths.PNG (170.28 KiB) Viewed 21092 times
Re: Select only Largest Lineart Path
The red and green lines are the result of "Add trace path", right? Continue with:
Then you set the art box to the selection and make it a bit smaller:
Then you select the object that (partly) overlaps with the art box. That selects the largest contour in your case (note that this is not generally true!). And change the color:
You can also turn the reasoning around by starting with Largest, but then you have to do something extra:
The reason to also present this approach is to highlight the very interesting action to select objects in a region defined by a contour.
Code: Select all
Select last added objects
Change color (to a spot color, let us call it Inside)
Code: Select all
Change art box (resize to fit the selection and use a small negative offset)
Code: Select all
Select objects inside or outside region (outside region or overlapping region, and set the region to the art box)
Change color (to a spot color, let us call it Largest)
Code: Select all
Select last added objects
Change spot color (Largest)
Change art box
Select objects inside or outside region
Select objects inside or outside a contour (here it is only inside of course)
Change color (Inside)
Re: Select only Largest Lineart Path
Well, Freddy, that is what I was needing to accomplish my action list! I altered it some by adding "Split in subpaths" after the "Add trace path" as it adds all paths to it main object.
As you have mentioned before I have RTFM, though my newbie brain missed those actions & couldn't figure it out.
Thank you so much for the helping bring these actions to light!
As you have mentioned before I have RTFM, though my newbie brain missed those actions & couldn't figure it out.
Thank you so much for the helping bring these actions to light!
Re: Select only Largest Lineart Path
I did not try it with "Add trace path" so I was wondering about the subpaths, but thank you for reporting back and adding this to the solution.