How to 「Ungroup」

Akane Ito
Akane Ito Member Posts: 38
10 Comments 5 Likes Name Dropper
**
edited July 2024 in Structures

Please tell me how to ungroup with a script

Answers

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 366
    25 Answers 100 Comments Second Anniversary 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: 38
    10 Comments 5 Likes Name Dropper
    **

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