CogoPointCollectionAdd(Point3dCollection, Boolean) Method

Adds new CogoPoints at the given locations.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectIdCollection Add(
	Point3dCollection locations,
	bool useNextPointNumSetting
)

Parameters

locations  Point3dCollection
The locations of the new CogoPoints.
useNextPointNumSetting  Boolean
 

Return Value

ObjectIdCollection
An ObjectIdCollection containing the added CogoPoint objects.
Remarks
The CogoPoints created with this method have empty Descriptions.
Example
1// _civildoc is the active CivilDocument instance.
2CogoPointCollection cogoPoints = _civildoc.CogoPoints;
3Point3dCollection points = getRandomPoints();   // Returns collection of random generated points.
4cogoPoints.Add(points, false);
See Also