Exports a corridor feature line as a profile.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public ObjectId ExportAsProfile( string profileName, ObjectId alignmentId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId )
VB
Public Function ExportAsProfile ( profileName As String, alignmentId As ObjectId, layerId As ObjectId, styleId As ObjectId, labelSetId As ObjectId ) As ObjectId
C++
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
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the profileName is alredy used by another profile under the specified alignment. |