Forgot password?

Create an account!

Forum

« back

RhinoScript – Ungroup All

Messages

Please log in to write a message.

  • 2. Hanno (Apr 20, 2010 18.46):

    Hi Brad,

    you could simply use "ungroup _selall" to ungroup all objects. However, If you have nested groups you will have to run it several times.

    There is also a rhinoscript command called RemoveObejctFromAllGroups. You could iterate through all objects and apply it to every object:

    Dim arrObjects: arrObjects = rhino.allObjects()
    Dim i
    For i = 0 to ubound(arrObjects)
      call Rhino.RemoveObjectFromAllGroups(arrObjects(i))
    Next

    Regards

    Hanno

  • 1. bfackrell (Apr 14, 2010 19.50):

    Is there a script (or Rhino) command to ungroup all groupings? Something like: UngroupAll

    Thanks
    Brad

Recommend

Why are these buttons gray?