Adds new CogoPoints at the given locations.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.0.1111.0
Syntax
C# |
---|
public ObjectIdCollection Add( Point3dCollection locations ) |
Visual Basic |
---|
Public Function Add ( _ locations As Point3dCollection _ ) As ObjectIdCollection |
Visual C++ |
---|
public: ObjectIdCollection^ Add( Point3dCollection^ locations ) |
Parameters
- locations
- Type: Point3dCollection
The locations of the new CogoPoints.
Return Value
An ObjectIdCollection containing the added CogoPoint objects.
Remarks
The CogoPoints created with this method have empty Descriptions.
Examples

1// _civildoc is the active CivilDocument instance. 2CogoPointCollection cogoPoints = _civildoc.CogoPoints; 3Point3dCollection points = getRandomPoints(); // Returns collection of random generated points. 4cogoPoints.Add(points);

1' _civildoc is the active CivilDocument instance. 2Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints 3Dim points As Point3dCollection = getRandomPoints() 4' Returns collection of random generated points. 5cogoPoints.Add(points)