CreateOffsetProfileBySlope Method (String, String, String, Double)

Creates a profile of Offset type

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.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

ExceptionCondition
System.ArgumentException Thrown when:
  • The name of the style is invalid.
  • The name of the offset alignment is invalid.
  • The profile name is null or empty.

See Also