Exports a corridor feature line as an alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public ObjectId ExportAsAlignment( string alignmentName, ObjectId siteId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId, AlignmentType alignmentType )
Visual Basic
Public Function ExportAsAlignment ( _ alignmentName As String, _ siteId As ObjectId, _ layerId As ObjectId, _ styleId As ObjectId, _ labelSetId As ObjectId, _ alignmentType As AlignmentType _ ) As ObjectId
Visual C++
public: ObjectId ExportAsAlignment( String^ alignmentName, ObjectId siteId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId, AlignmentType alignmentType )
Parameters
- alignmentName
- Type: System.String
The name of the created Alignment. If the name already exists, the method generates another unique name by adding a number as a suffix.
- siteId
- Type: ObjectId
The ObjectId of the site on which the Alignment is created.
- layerId
- Type: ObjectId
The ObjectId of the layer on which the Alignment is created.
- styleId
- Type: ObjectId
The ObjectId of the style applied to the created Alignment.
- labelSetId
- Type: ObjectId
The ObjectId of the labelSet applied to the created Alignment.
- alignmentType
- Type: Autodesk.Civil.DatabaseServices.AlignmentType
The kind of alignment to create.