Share

Profile.CreateOffsetProfileBySlope(String, String, String, Double) Method

Creates a profile of Offset type



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public ObjectId CreateOffsetProfileBySlope(
	string profileName,
	string offsetAlignmentName,
	string styleName,
	double slope
)

VB

Public Function CreateOffsetProfileBySlope ( 
	profileName As String,
	offsetAlignmentName As String,
	styleName As String,
	slope As Double
) As ObjectId

C++

public:
ObjectId CreateOffsetProfileBySlope(
	String^ profileName, 
	String^ offsetAlignmentName, 
	String^ styleName, 
	double slope
)

Parameters

profileName  String
The name for the new profile. Make sure this name is not used by another profile under the specified alignment.
offsetAlignmentName  String
The offset alignment to associate the new offset profile.
styleName  String
The profile style name.
slope  Double
The slope of the profile.

Return Value

ObjectId

Exceptions

ExceptionCondition
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

Reference

Was this information helpful?