How to 「Ungroup」

Akane Ito
Akane Ito Member Posts: 26
10 Comments Name Dropper
**
edited July 2 in Structures

Please tell me how to ungroup with a script

Answers

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 330
    25 Answers First Anniversary 100 Comments 25 Likes
    ✭✭✭✭

    I am not sure when it was implemented but as of V24.1 there is a method on the folder object for this:

    MyFolder.Ungroup()

    This will do what the UI option is doing. Keep in mind this method is on the folder object, not the objects in the folder.

  • Akane Ito
    Akane Ito Member Posts: 26
    10 Comments Name Dropper
    **

    @Mike.Thompson
    Thank you!
    I was able to execute it even in Ver23.1.