MoveEntityToGroup

Moves a specified entity or entities to a specified group.

UI Access Drag item into the group in the history tree.
Parameters
Name Type Description
<Objects> Array Structured array. Selects the entity/entities to move.

Array("Objects:=" , <array containing string object IDs>)

<MoveEntityToGroup> Array Structured array.

Array("ParentGroup:=" , <string group name>)

Return Value None.

 

Python Syntax MoveEntityToGroup (<Objects>, <MoveEntityToGroup>)
Python Example

oEditor.MoveEntityToGroup(

["Objects:=", ["Box3"]],

["ParentGroup:=", "Box_Group"])