Creates a profile of EG type from a corridor feature line.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId CreateFromFeatureLine( string profileName, CorridorFeatureLine corridorFeatureLine, ObjectId alignmentId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId )
VB
Public Shared Function CreateFromFeatureLine ( profileName As String, corridorFeatureLine As CorridorFeatureLine, alignmentId As ObjectId, layerId As ObjectId, styleId As ObjectId, labelSetId As ObjectId ) As ObjectId
C++
public: static ObjectId CreateFromFeatureLine( String^ profileName, CorridorFeatureLine^ corridorFeatureLine, ObjectId alignmentId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId )
Parameters
- profileName String
- The name for the new profile. Make sure this name is not used by another profile under the specified alignment.
- corridorFeatureLine CorridorFeatureLine
- The Corridor Feature Line to be used to create this profile.
- alignmentId ObjectId
- The ObjectId of Alignment for the new profile.
- layerId ObjectId
- The ObjectId of the Layer on which to place 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:
|