cLinkObj SetGroupAssign Method CSi API ETABS 2015
Adds/removes link objects to/from a specified group.

Namespace: ETABS2015
Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
Syntax

int SetGroupAssign(
	string Name,
	string GroupName,
	bool Remove = false,
	eItemType ItemType = eItemType.Objects
)

Parameters

Name
Type: OnlineSystem String
The name of an existing link object or group, depending on the value of the ItemType item.
GroupName
Type: OnlineSystem String
The name of an existing group to which the assignment is made.
Remove (Optional)
Type: OnlineSystem Boolean
ItemType (Optional)
Type: ETABS2015 eItemType
This is one of the items in the eItemType enumeration.

If this item is Objects, the link object specified by the Name item is added/removed to/from the group specified by the GroupName item.

If this item is Group, the link objects in the group specified by the Name item is added/removed to/from the group specified by the GroupName item.

If this item is SelectedObjects, all selected link objects are added/removed to/from the group specified by the GroupName item, and the Name item is ignored.

Return Value

Returns zero if the group assignment is successful; otherwise it returns a nonzero value.
Remarks

Examples

See Also