Share

LandDatabaseExtension.GetCivilAlignmentIds Method

Returns an ObjectIdCollection containing the ObjectId's of all the alignments in the drawing.



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

Syntax

C#

public static ObjectIdCollection GetCivilAlignmentIds(
	this Database database
)

VB

<ExtensionAttribute>
Public Shared Function GetCivilAlignmentIds ( 
	database As Database
) As ObjectIdCollection

C++

public:
[ExtensionAttribute]
static ObjectIdCollection^ GetCivilAlignmentIds(
	Database^ database
)

Parameters

database  Database
 

Return Value

ObjectIdCollection
An ObjectIdCollection of all the alignments in the drawing. The collection is empty (Count == 0) if there are no alignments in the drawing.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Database. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This method returns an ObjectIdCollection, which contains the ObjectId's for all the alignment objects in the drawing.

See Also

Reference

Was this information helpful?