ProfileCreateFromFeatureLine Method |
Creates a profile of EG type from a corridor feature line.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId CreateFromFeatureLine(
string profileName,
CorridorFeatureLine corridorFeatureLine,
ObjectId alignmentId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
)
Public Shared Function CreateFromFeatureLine (
profileName As String,
corridorFeatureLine As CorridorFeatureLine,
alignmentId As ObjectId,
layerId As ObjectId,
styleId As ObjectId,
labelSetId As ObjectId
) As ObjectId
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
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The ObjectId of the alignmentId, layerId, styleId,labelSetId is invalid.
- The Object corridorFeatureLine or The objectId of the siteId, layerId, styleId, labelSetId
is null.
- The profile name is null or empty.
|
See Also