cFrameObj SetGroupAssign Method CSi API ETABS 2015
Adds or removes frame objects 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 point 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 following items in the eItemType enumeration:
  • Object = 0
  • Group = 1
  • SelectedObjects = 2

If this item is Objects, the frame object specified by the Name item is added or removed from the group specified by the GroupName item.

If this item is Group, all frame objects in the group specified by the Name item are added or removed from the group specified by the GroupName item.

If this item is SelectedObjects, all selected frame objects are added or removed 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