AddFreeSpiral Method

Creates a AlignmentSCS (Spiral-Curve-Spiral group with a curve and a spiral length is 0) entity defined by a previous entity, a next entity, the lengths or A-Value of spiral, and the spiral type and the definition type.

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

Syntax

C#

public AlignmentSCS AddFreeSpiral(
	int previousEntityId,
	int nextEntityId,
	double spParam,
	SpiralParamType spType,
	SpiralCurveType spiralCurveType,
	SpiralType spiralDefinition
)

Visual Basic

Public Function AddFreeSpiral ( _
	previousEntityId As Integer, _
	nextEntityId As Integer, _
	spParam As Double, _
	spType As SpiralParamType, _
	spiralCurveType As SpiralCurveType, _
	spiralDefinition As SpiralType _
) As AlignmentSCS

Visual C++

public:
AlignmentSCS^ AddFreeSpiral(
	int previousEntityId, 
	int nextEntityId, 
	double spParam, 
	SpiralParamType spType, 
	SpiralCurveType spiralCurveType, 
	SpiralType spiralDefinition
)

Parameters

previousEntityId
Type: System.Int32
Previous entity identifier.
nextEntityId
Type: System.Int32
Next entity identifier.
spParam
Type: System.Double
Spiral parameter (length or A-value).
spType
Type: Autodesk.Civil.DatabaseServices.SpiralParamType
Specifies the spParam parameter's type.
spiralCurveType
Type: Autodesk.Civil.DatabaseServices.SpiralCurveType
Specifies the spiral curve type, InCurve or OutCurve.
spiralDefinition
Type: Autodesk.Civil.SpiralType
Definition of the spiral.

Remarks

You can use the AlignmentSCS.SpiralIn or AlignmentSCS.SpiralOut to get the real spiral sub-entity we added.

See Also