2 Replies Latest reply on Mar 3, 2016 12:13 PM by funsekon

    Is it possible to Ungroup graphics with code?

    funsekon

      Hi Group,

      I've been trying to find a way to ungroup graphics within an anchored frame. Can't find a method to do this.

      Maybe going inside a group, grabbing the group components, saving them somewhere, deleting the group and recreating the components in its original positions.

       

      if (oGraphic2.type = Constants.FO_Group){ //graphic is a group
          alert("Graphic selected is a group.");
          //do something to Ungroup the group
      }