cPointObj AddCartesian Method CSi API ETABS 2015
Adds a point object to a model. The added point object will be tagged as a Special Point except if it was merged with another point object. Special points are allowed to exist in the model with no objects connected to them.

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

int AddCartesian(
	double X,
	double Y,
	double Z,
	ref string Name,
	string UserName = "",
	string CSys = "Global",
	bool MergeOff = false,
	int MergeNumber = 0
)

Parameters

X
Type: OnlineSystem Double
Y
Type: OnlineSystem Double
Z
Type: OnlineSystem Double
Name
Type: OnlineSystem String 
This is the name that the program ultimately assigns for the point object. If no userName is specified, the program assigns a default name to the point object. If a userName is specified and that name is not used for another point, the userName is assigned to the point; otherwise a default name is assigned to the point.

If a point is merged with another point, this will be the name of the point object with which it was merged.

UserName (Optional)
Type: OnlineSystem String
CSys (Optional)
Type: OnlineSystem String
The name of the coordinate system in which the joint coordinates are defined.
MergeOff (Optional)
Type: OnlineSystem Boolean
If this item is False, a new point object that is added at the same location as an existing point object will be merged with the existing point object (assuming the two point objects have the same MergeNumber) and thus only one point object will exist at the location.

If this item is True, the points will not merge and two point objects will exist at the same location.

MergeNumber (Optional)
Type: OnlineSystem Int32
Two points objects in the same location will merge only if their merge number assignments are the same. By default all pointobjects have a merge number of zero.

Return Value

Returns zero if the point object is successfully added or merged, otherwise it returns a nonzero value.
Remarks

Examples

See Also