CreateGroup

Creates a group from objects specified in the history tree.

UI Access Modeler > Group > Create.
Parameters
Name Type Description

<Parameters>

Array

Structured array.

Array("NAME:GroupParameter",

"ParentGroupID:=" , <string>,

"Parts:=" , <string>,

"SubmodelInstances:=" , <string>,

"Groups:=" , <string>)

Return Value None.

 

Python Syntax CreateGroup(<Parameters>)
Python Example

oEditor.CreateGroup(

["NAME:GroupParameter",

"ParentGroupID:=" , "Model",

"Parts:=" , "Box1,Box2,Box3",

"SubmodelInstances:=" , "",

"Groups:=" , ""

])