Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Ungroup previous created groups

$
0
0

Hi,

 

For a new script I group all objects within layers before processing them. After processing I like to ungroup these objects again. Making the groups is not the problem and works fine, however I can't figure out how to ungroup them again.

 

So what I need is a function (script example) that uses a documentname and layername for input. That layer only contains one group and that group needs to be ungrouped to its original objects (text, paths, groups, etc.).

function ungroup( documentid, layerid ) 

  {

 

   // some code to ungroup a single group in this document and layer

 

  }

 

 

Any help is appreciated

Michel.


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>