Exports a corridor feature line as a profile.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public ObjectId ExportAsProfile(
string profileName,
ObjectId alignmentId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
) |
| Visual Basic |
|---|
Public Function ExportAsProfile ( _
profileName As String, _
alignmentId As ObjectId, _
layerId As ObjectId, _
styleId As ObjectId, _
labelSetId As ObjectId _
) As ObjectId |
| Visual C++ |
|---|
public:
ObjectId ExportAsProfile(
String^ profileName,
ObjectId alignmentId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
) |
Parameters
- profileName
- Type: System..::..String
The name for the new profile.
- alignmentId
- Type: ObjectId
The ObjectId of the Alignment to place the new profile on.
- layerId
- Type: ObjectId
The ObjectId of the Layer for the new profile.
- styleId
- Type: ObjectId
The ObjectId of the Style to apply to the new profile.
- labelSetId
- Type: ObjectId
The ObjectId of the LabelSet to apply to the new profile.
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when the profileName is alredy used by another profile under the specified alignment.
|
See Also