Gets the objectId of a siteless Alignment object by name.

Namespace: Autodesk.Civil.ApplicationServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 11.0.641.0

Syntax

C#
public ObjectId GetSitelessAlignmentId(
	string name
)
Visual Basic
Public Function GetSitelessAlignmentId ( _
	name As String _
) As ObjectId
Visual C++
public:
ObjectId GetSitelessAlignmentId(
	String^ name
)

Parameters

name
Type: System..::..String
Name of the siteless alignment.

Remarks

The siteless alignment name is unique, therefore it can be used as a key to get an alignment id.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when there's no siteless alignment with this name in the drawing.

See Also