Creates a profile of Offset type
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public ObjectId CreateOffsetProfileBySlope( string profileName, string offsetAlignmentName, string styleName, double slope )
Visual Basic
Public Function CreateOffsetProfileBySlope ( _ profileName As String, _ offsetAlignmentName As String, _ styleName As String, _ slope As Double _ ) As ObjectId
Visual C++
public: ObjectId CreateOffsetProfileBySlope( String^ profileName, String^ offsetAlignmentName, String^ styleName, double slope )
Parameters
- profileName
- Type: System.String
The name for the new profile. Make sure this name is not used by another profile under the specified alignment.
- offsetAlignmentName
- Type: System.String
The offset alignment to associate the new offset profile.
- styleName
- Type: System.String
The profile style name.
- slope
- Type: System.Double
The slope of the profile.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|