Creates a profile of FG type.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1276
Syntax
C#
public static ObjectId CreateByLayout( string profileName, CivilDocument document, string alignmentName, string layerName, string styleName, string labelSetName )
VB
Public Shared Function CreateByLayout ( profileName As String, document As CivilDocument, alignmentName As String, layerName As String, styleName As String, labelSetName As String ) As ObjectId
C++
public: static ObjectId CreateByLayout( String^ profileName, CivilDocument^ document, String^ alignmentName, String^ layerName, String^ styleName, String^ labelSetName )
Parameters
- profileName String
- Name for the new profile, make sure this name is not used by another profile under the specified alignment
- document CivilDocument
- CivilDocument to place this new profile
- alignmentName String
- Name of the alignment to place this new profile.
- layerName String
- Name of the layer for this profile
- styleName String
- Name of the style for this profile
- labelSetName String
- Name of the label set for this profile
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|