CorridorFeatureLineExportAsProfile Method |
Exports a corridor feature line as a profile.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectId ExportAsProfile(
string profileName,
ObjectId alignmentId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
)
Public Function ExportAsProfile (
profileName As String,
alignmentId As ObjectId,
layerId As ObjectId,
styleId As ObjectId,
labelSetId As ObjectId
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the profileName is alredy used by another profile under the specified alignment.
|
See Also