CorridorFeatureLineExportAsAlignment Method

Exports a corridor feature line as an alignment.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectId ExportAsAlignment(
	string alignmentName,
	ObjectId siteId,
	ObjectId layerId,
	ObjectId styleId,
	ObjectId labelSetId,
	AlignmentType alignmentType
)

Parameters

alignmentName  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  ObjectId
The ObjectId of the site on which the Alignment is created.
layerId  ObjectId
The ObjectId of the layer on which the Alignment is created.
styleId  ObjectId
The ObjectId of the style applied to the created Alignment.
labelSetId  ObjectId
The ObjectId of the labelSet applied to the created Alignment.
alignmentType  AlignmentType
The kind of alignment to create.

Return Value

ObjectId
See Also