Share

CorridorFeatureLine.ExportAsAlignment Method

Exports a corridor feature line as an alignment.



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

Syntax

C#

public ObjectId ExportAsAlignment(
	string alignmentName,
	ObjectId siteId,
	ObjectId layerId,
	ObjectId styleId,
	ObjectId labelSetId,
	AlignmentType alignmentType
)

VB

Public Function ExportAsAlignment ( 
	alignmentName As String,
	siteId As ObjectId,
	layerId As ObjectId,
	styleId As ObjectId,
	labelSetId As ObjectId,
	alignmentType As AlignmentType
) As ObjectId

C++

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

Reference

Was this information helpful?