CorridorFeatureLineExportAsProfile Method

Exports a corridor feature line as a profile.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectId ExportAsProfile(
	string profileName,
	ObjectId alignmentId,
	ObjectId layerId,
	ObjectId styleId,
	ObjectId labelSetId
)

Parameters

profileName  String
The name for the new profile.
alignmentId  ObjectId
The ObjectId of the Alignment to place the new profile on.
layerId  ObjectId
The ObjectId of the Layer for the new profile.
styleId  ObjectId
The ObjectId of the Style to apply to the new profile.
labelSetId  ObjectId
The ObjectId of the LabelSet to apply to the new profile.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the profileName is alredy used by another profile under the specified alignment.
See Also