Skip to main content Skip to complementary content

AddGroupMembers Method

Overloads

AddGroupMembers(String, IEnumerable<NxGroupObjectId>, String, String)

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

This method allows you to add one or more members to an existing group of objects directly.

AddGroupMembers(String, IEnumerable<NxGroupObjectId>, String, String)

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

This method allows you to add one or more members to an existing group of objects directly.

Declaration

      void AddGroupMembers([QixName("qPath")] string path, [QixName("qMembers")] IEnumerable<NxGroupObjectId> members, [QixName("qTargetGroupId")] string targetGroupId = null, [QixName("qPosId")] string posId = null)
    

Parameters

Type Name Description
System.String path

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

System.Collections.Generic.IEnumerable<NxGroupObjectId> members

Array of IDs for the objects and/or subgroups to add to the group.

System.String targetGroupId

Name of the group the Members will be added to (if not the called object).

System.String posId

Id of the member whose position to insert into.

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!