Gets the CogoPointCollection object containing all the CogoPoints in a drawing.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public static CogoPointCollection GetCogoPoints(
	Database pDatabase
)
Visual Basic
Public Shared Function GetCogoPoints ( _
	pDatabase As Database _
) As CogoPointCollection
Visual C++
public:
static CogoPointCollection^ GetCogoPoints(
	Database^ pDatabase
)

Parameters

pDatabase
Type: Database

Examples

CopyC#
1// _acaddoc is the active AutoCAD document instance.
2CogoPointCollection cogoPoints = CogoPointCollection.GetCogoPoints(_acaddoc.Database);
3
4write("Number of COGO Points in the drawing: " + cogoPoints.Count);
CopyVB.NET
1' _acaddoc is the active AutoCAD document instance.
2Dim cogoPoints As CogoPointCollection = CogoPointCollection.GetCogoPoints(_acaddoc.Database)

See Also