Seperate All Subcurves to Curves


#1

I was working on a logo from AI this evening, and was tired of separating one curve at a time, so I made this tool. Simple enough, but very handy.

var oSel = Application.Selection(0);
  var oSelName = oSel.FullName;
  var oAP = oSel.ActivePrimitive.Geometry;
  var oCrvCount = oAP.Curves.Count;
  
  for(i=0; i < oCrvCount; i++){
  	ExtractFromComponents("ExtractSubCrvOp", oSelName +".subcrv["+ i +"]", "crv_0"+i);
  }

#2

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.