Creates an offset Alignment from the current alignment, returns the offset Alignment ObjectId. A positive value to create an offset alignment to the right side and negative to the left side.

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

Syntax

C#
[ObsoleteAttribute("Use static method Autodesk.Civil.DatabaseServices.Alignment.CreateOffsetAlignment(...) instead.", 
	false)]
public ObjectId CreateOffsetAlignment(
	double offsetDistance
)
Visual Basic
<ObsoleteAttribute("Use static method Autodesk.Civil.DatabaseServices.Alignment.CreateOffsetAlignment(...) instead.",  _
	False)> _
Public Function CreateOffsetAlignment ( _
	offsetDistance As Double _
) As ObjectId
Visual C++
[ObsoleteAttribute(L"Use static method Autodesk.Civil.DatabaseServices.Alignment.CreateOffsetAlignment(...) instead.", 
	false)]
public:
ObjectId CreateOffsetAlignment(
	double offsetDistance
)

Parameters

offsetDistance
Type: System..::..Double
Specifies the distance to create offset Alignment.

Examples

CopyC#
1// Creates a new alignment with an offset of 10:
2ObjectId offsetAlignmentID = Alignment.CreateOffsetAlignment("New Offset", alignID, 10, styleId);

See Also