cPointObj DeleteRestraint Method CSi API ETABS 2015
Deletes all restraint assignments from the specified point object(s).

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

int DeleteRestraint(
	string Name,
	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.
ItemType (Optional)
Type: ETABS2015 eItemType
This is one of the following items in the eItemType enumeration:
  • Object = 0
  • Group = 1
  • SelectedObjects = 2

If Objects is selected, the Name item refers to a point object. The restraint assignments for that point object are removed.

If Group is selected, the Name item refers to a group. The restraint assignments for all point objects in the group are removed.

If SelectedObjects is selected, the Name item is ignored. The restraint assignments for all selected point objects are removed.

Return Value

Returns zero if the restraint assignments are successfully deleted, otherwise it returns a nonzero value.
Remarks

Examples

See Also