cGridSys SetGridSys Method CSi API ETABS 2015
Adds a new grid system, or modifies an existing grid system.

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

int SetGridSys(
	string Name,
	double x,
	double y,
	double RZ
)

Parameters

Name
Type: OnlineSystem String
This is the name of a grid system. If this is the name of an existing grid system, that grid system is modified, otherwise a new grid system is added.
x
Type: OnlineSystem Double
The global X grid of the origin of the grid system. [L]
y
Type: OnlineSystem Double
The global Y grid of the origin of the grid system. [L]
RZ
Type: OnlineSystem Double
The rotation of an axis of the new grid system relative to the global grid system is defined as follows: (1) Rotate the grid system about the positive global Z-axis as defined by the RZ item. [deg]

Return Value

Returns zero if the grid system is successfully added or modified, otherwise it returns a nonzero value.
Remarks

Modifying the Global grid system will fail and return an error.
Examples

See Also