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, ObjectId offsetAlignmentId, ObjectId profileStyleId, double slope )
Visual Basic
Public Function CreateOffsetProfileBySlope ( _ profileName As String, _ offsetAlignmentId As ObjectId, _ profileStyleId As ObjectId, _ slope As Double _ ) As ObjectId
Visual C++
public: ObjectId CreateOffsetProfileBySlope( String^ profileName, ObjectId offsetAlignmentId, ObjectId profileStyleId, 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.
- offsetAlignmentId
- Type: ObjectId
The ObjectId of offset alignment to associate the new offset profile.
- profileStyleId
- Type: ObjectId
The ObjectId of ProfileStyle for the new profile.
- slope
- Type: System.Double
The slope of the profile.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|