cGroup SetGroup Method CSi API ETABS 2015
Sets the group data.

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

int SetGroup(
	string Name,
	int Color = -1,
	bool SpecifiedForSelection = true,
	bool SpecifiedForSectionCutDefinition = true,
	bool SpecifiedForSteelDesign = true,
	bool SpecifiedForConcreteDesign = true,
	bool SpecifiedForAluminumDesign = true,
	bool SpecifiedForColdFormedDesign = true,
	bool SpecifiedForStaticNLActiveStage = true,
	bool SpecifiedForBridgeResponseOutput = true,
	bool SpecifiedForAutoSeismicOutput = false,
	bool SpecifiedForAutoWindOutput = false,
	bool SpecifiedForMassAndWeight = true
)

Parameters

Name
Type: OnlineSystem String
This is the name of a group. If this is the name of an existing group, that group is modified, otherwise a new group is added.
Color (Optional)
Type: OnlineSystem Int32
SpecifiedForSelection (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for selection; otherwise it is False.
SpecifiedForSectionCutDefinition (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for defining section cuts; otherwise it is False.
SpecifiedForSteelDesign (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for defining steel frame design groups; otherwise it is False.
SpecifiedForConcreteDesign (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for defining concrete frame design groups; otherwise it is False.
SpecifiedForAluminumDesign (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for defining aluminum frame design groups; otherwise it is False.
SpecifiedForColdFormedDesign (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for defining cold formed frame design groups; otherwise it is False.
SpecifiedForStaticNLActiveStage (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for defining stages for nonlinear static analysis; otherwise it is False.
SpecifiedForBridgeResponseOutput (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for reporting bridge response output; otherwise it is False.
SpecifiedForAutoSeismicOutput (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for reporting auto seismic loads; otherwise it is False.
SpecifiedForAutoWindOutput (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for reporting auto wind loads; otherwise it is False.
SpecifiedForMassAndWeight (Optional)
Type: OnlineSystem Boolean
This item is True if the group is specified to be used for reporting group masses and weight; otherwise it is False.

Return Value

Returns zero if the group data is successfully set; otherwise it returns a nonzero value.
Remarks

Items SpecifiedForAluminumDesign, SpecifiedForColdFormedDesignSpecifiedForBridgeResponseOutput are not supported in ETABS.
Examples

See Also