Skip to main content Skip to complementary content

CreateGroup Method

Overloads

CreateGroup(String, NxGroupDef, String)

You can use the CreateGroup method with any object that contains an object grouping definition.

This method allows you to create a new subgroup of objects directly and add it to a group's members.

Returns the ID of the created subgroup.

CreateGroup(String, NxGroupDef, String)

You can use the CreateGroup method with any object that contains an object grouping definition.

This method allows you to create a new subgroup of objects directly and add it to a group's members.

Returns the ID of the created subgroup.

Declaration

      public string CreateGroup([QixName("qPath")] string path, [QixName("qGroupDef")] NxGroupDef groupDef, [QixName("qTargetGroupId")] string targetGroupId = null)
    

Parameters

Type Name Description
System.String path

Path to the definition of the object to be selected. For example /qNxGroupDef .

NxGroupDef groupDef

Definition of the new group.

System.String targetGroupId

Id of the group to create the new subgroup in (if not the called object).

Returns

Type Description
System.String

Implements

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!