Gets the objectId of a siteless Alignment object by name.

Namespace: Autodesk.Civil.ApplicationServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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