Is there an Equiv to AI Divide Tool? If not...

If not - what is the best way to replicate that tool?

I attempted myself but I cannot tell what it's doing exactly to replicate it in VBA.  It sort of looks like its trimming & intersecting but not really. It's kind of hard to decipher. In any event I need a tool similar... Is there a post for this by chance or anyone who can help? 

IF there isnt. Is there a post or someone who can help with a node function similar to inkscapes / extension/ add node function? It like evens out all the nodes along a curve with a value (and doesnt alter the shape). If not that's cool. The divide one im looking for as of now. 

Any help would be appreciated. 

Parents
No Data
Reply
  • I believe you are looking for this. Select your first shape, then shift select your second shape at you wish to divide. Run the code and hopefully that is the result you are looking for. 

    Sub DivideTool()
        Dim s As Shape
        Dim sr As ShapeRange
        
        Set sr = ActiveSelectionRange
        Set s = sr(2).Trim(sr(1), False, False)
        s.BreakApart
    End Sub
    

    If it is, let me know and I can add a single undo for the process.

    Happy coding, 

    -Shelby

Children
No Data