Skip to main content
RichaFrost
Participant
March 30, 2009
Question

Explode and combine multiple paths at once

  • March 30, 2009
  • 1 reply
  • 27126 views
L. S.,

In Vectorworks you have this great feature to divide or explode a polyline or polygon into multiple lines and arcs. These segments are split(?) at their vector points or anchor points. You can do this operation with multiple polys selected at once. You can take out some segments or adjust some of those. Then you can select all the divided parts and combine them. Polygons are then created out of these segments again according to shared vector points.

I use these features a lot and I was wondering if in Illustrator the same thing is possible with paths. Until now I only saw the scissors tool with which you have to point at every point subsequently and the same goes for the join tool.

Richard.
eh...James?
    This topic has been closed for replies.

    1 reply

    JETalmage
    Inspiring
    March 30, 2009
    Illustrator only just recently (CS3, I think) gained a limited ability to split multiple paths at selected anchorPoints. It's as awkwardly-interfaced as most aspects of Illustrator. It's a button in the Control Panel concisely named "Cut Path At Selected Anchor Points" (deep breath).

    If you don't see the button, it's because you have to select the point(s) you want to split with the (deep breath) Direct Selection Tool (white pointer). Illustrator's Control Panel can't decide if it's tool-based or selection-based, so it often hides the features you need for what you are doing.

    If you still don't see the button, it's because you logically have all the anchorPoints of the path selected when you want to split all the points of a given path. This illogical abberation is because, despite Illustrator's insistence upon tedious multiple selection tools, it still is not smart enough to understand the difference between a path being selected as an object, as opposed to merely having all its anchorPoints selected.

    The button does appear, however, in the "opposite" situation: if you "select the segment" (not the points) of a simple 2-point path. In that situation, the button appears, but of course it does nothing. But it's there, in case you want to do nothing.

    So, as with most things in AI, if you want to cut all the anchorPoints of a single selected path, you have to come up with workarounds:

    Select the path, then DEselect one anchorPoint. Now the button will appear. Then cut the other anchorPoint.

    Or, use the workaround that pre-dates the new feature by many years: Use the Select>Object>DirectionHandles command. Then Cut. Then Delete. Then Paste In Front. That completely screwey routine probably needs some explanation:

    The command says you are selecting "Direction Handles". Elsewhere, Illustrator's interface and documentation pretend that you can select "segments" independently of their anchorPoints. Of course, what really gets copied to the clipboard are individual 2-point paths (each including 2 anchorPoints, 2 handles, and the segment they describe), and that's what you get when you Paste thereafter. But when you do the Cut, the anchorPoints are "left behind", because they ostensibly were "not selected." That's why the Delete command in the workaround, before Paste In Front--to get rid of the stray points that are left behind when you copy them to the clipboard by selecting Cut. (Clear?)

    Note that when you ostensibly "select the handles", the display is exactly the same as if you "direct selected" one "segment" with the (deep breath) Direct Selection Tool. In such a case, you often can't tell by looking which "segment" is selected. You just have to remember what you clicked or selected and with what tool or command.

    As for joining multiple paths at once, Illustrator has not got around to that yet. (It only took 20 years to gain the above-described ability to cut multiple selected points.) Workarounds:

    Use a 3rd-party plug-in. This assumes, of course, you can stomach the principle of paying exta above-and-beyond the bloated price of Illustrator for such basic functionality.

    Or, use a free script. You are welcome to one or both of mine if you wish. JET_JoinNearest respects pre-existing outboard handles (if any). JET_JoinNearestStraight joins with straight segments.

    Or, assuming the series of paths together visually describe an enclosed area, you can use the flood-fill feature (LivePaint) to convert the paths to a "LivePaint Group", use the LivePaint Bucket Tool to create a new closed path, then Expand and Ungroup the LivePaint Group to get back to normal basic paths.

    Welcome to Illustrator.

    JET
    Participant
    June 11, 2019

    Jet thank you for your reply! The 'cut path at selected anchor points' is so annoying, the 'select>object>direction handles' works perfect and takes 1/1000th the time. Much appreciated, you are a life saver!

    (working on product packaging templates from a China manufacturer that are not well made)

    Community Expert
    June 12, 2019

    Wow, that's a 10 year blast from the past. Nevertheless, editing anchor points (such as splitting open paths at selected anchor points) still isn't quite as easy as it should be. Some functions (such as cutting open paths at selected anchor points) are available when selecting a path with the direct selection tool. Other features remain missing or hidden. And that forces users wanting an obvious, straight-forward approach to either buy third party Illustrator plug-ins, such as VectorScribe by Astute Graphics or just use rival drawing applications (and deal with trade-offs that come with using them).