0 Replies Latest reply on Dec 4, 2010 12:07 PM by menzel7281

    Putting group inside rectangle.

    menzel7281

      I have a group of 5 objects, for simplicity sake, they're 5 rectangles with random fill colors.

       

      I'd like to place this inside another rectangle.

       

      I can do this by

       

      assume groupToCut is the grouping of 5 rectangles and parentRec is the rectangle I want them all to go into.

       

      Document.select(groupToCut, SelectionOptions.replaceWith);

      app.cut();

      parentRect.select(SelectionOptions.replaceWith);

      app.pasteInto();

       

      Unfortunately this requires the me to open the document with showingWindow = true.

       

      Is there a way I can do this without utilizing the cut and paste so that I can modify documents quickly (ie showingWindow = false)