Creates an Alignment from the specified CorridorFeatureLine.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( CorridorFeatureLine corridorFeatureLine, string alignmentName, ObjectId siteId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId, AlignmentType alignmentType )
VB
Public Shared Function Create ( corridorFeatureLine As CorridorFeatureLine, alignmentName As String, siteId As ObjectId, layerId As ObjectId, styleId As ObjectId, labelSetId As ObjectId, alignmentType As AlignmentType ) As ObjectId
C++
public: static ObjectId Create( CorridorFeatureLine^ corridorFeatureLine, String^ alignmentName, ObjectId siteId, ObjectId layerId, ObjectId styleId, ObjectId labelSetId, AlignmentType alignmentType )
Parameters
- corridorFeatureLine CorridorFeatureLine
- The CorridorFeatureLine used to create Alignment.
- alignmentName String
- The name of the created Alignment.
- siteId ObjectId
- The ObjectId of the site on which the Alignment is created. Pass null to create a siteless Alignment.
- layerId ObjectId
- The ObjectId of the layer on which the Alignment is created.
- styleId ObjectId
- The ObjectId of the style applied to the created Alignment.
- labelSetId ObjectId
- The ObjectId of the labelSet applied to the created Alignment.
- alignmentType AlignmentType
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|