Share

CivilDocument.GetSitelessAlignmentId Method

Gets the objectId of a siteless Alignment object by name.



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

Syntax

C#

public ObjectId GetSitelessAlignmentId(
	string name
)

VB

Public Function GetSitelessAlignmentId ( 
	name As String
) As ObjectId

C++

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

Reference

Was this information helpful?