Note: This API is now obsolete.
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: 13.8.0.280
Syntax
C#
[ObsoleteAttribute("Use static method Autodesk.Civil.DatabaseServices.Alignment.CreateOffsetAlignment(...) instead.", false)] public ObjectId CreateOffsetAlignment( double offsetDistance )
VB
<ObsoleteAttribute("Use static method Autodesk.Civil.DatabaseServices.Alignment.CreateOffsetAlignment(...) instead.", false)> Public Function CreateOffsetAlignment ( offsetDistance As Double ) As ObjectId
C++
public: [ObsoleteAttribute(L"Use static method Autodesk.Civil.DatabaseServices.Alignment.CreateOffsetAlignment(...) instead.", false)] ObjectId CreateOffsetAlignment( double offsetDistance )
Parameters
- offsetDistance Double
- Specifies the distance to create offset Alignment.
Return Value
ObjectIdExample
1!ERROR: See log file!