Overview | Statement List | Example


编辑组

Synopsis

GRPEDT/{ADD,{group object|group name|'groupname'}|REMOVE},obj list

Description

Allows you to add and remove objects or subgroups to and from a group. Note that a group member cannot belong to more than one group.

Parameters

Parameter

Description

ADD,REMOVE

Minor word which indicates that objects are to be added to or removed from a group. To ADD objects, you must specify either the group object, group name variable, or group name string.

group object,

Specifies the group name to add the object to or remove the object from.

group name,

The name may be specified in several ways:

Name

Explanation

group object

An object variable which represents the object identifier assigned when the group was created. For example:
GRP1=GROUP/obj list
GRPEDT/ADD,GRP1,obj list

group name

A string valued variable which represents the name of the group assigned using &NAME. For example:
STR='GROUP1'
GRP1=GROUP/obj list
&NAME(GRP1)=STR
GRPEDT/ADD,STR,obj list

'group name'

A literal string which represents the name of the group assigned using &NAME. For example:
&NAME(GRP1)='GROUP1'
GRPEDT/ADD,'GROUP1',obj list

obj list

Specifies the list of objects to use when editing the group.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.