Creates a new static FG profile from another profile. The profile inherits the originating profile's geometry, the update type is static. The new profile belongs to the same alignment of the originating profile.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId CreateStaticFGFromProfile( string profileName, CivilDocument document, string srcProfileName, string layerName, string styleName, string labelSetName )
VB
Public Shared Function CreateStaticFGFromProfile ( profileName As String, document As CivilDocument, srcProfileName As String, layerName As String, styleName As String, labelSetName As String ) As ObjectId
C++
public: static ObjectId CreateStaticFGFromProfile( String^ profileName, CivilDocument^ document, String^ srcProfileName, String^ layerName, String^ styleName, String^ labelSetName )
Parameters
- profileName String
- The name for the new profile. Make sure this name is not used by another profile under the specified alignment.
- document CivilDocument
- srcProfileName String
- layerName String
- The name of the Layer to apply
- styleName String
- The name of the Style to apply
- labelSetName String
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|