CivilDocumentGetSitelessAlignmentId Method

Gets the objectId of a siteless Alignment object by name.

Namespace: Autodesk.Civil.ApplicationServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectId GetSitelessAlignmentId(
	string name
)

Parameters

name  String
Name of the siteless alignment.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when there's no siteless alignment with this name in the drawing.
Remarks
The siteless alignment name is unique, therefore it can be used as a key to get an alignment id.
See Also