Creates a split ProfileView from the specified alignment.

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

Syntax

C#
public static ObjectId Create(
	ObjectId alignmentId,
	Point3d insertPosition,
	string profileViewName,
	ObjectId profileViewBandSetId,
	ObjectId profileViewStyleId,
	SplitProfileViewCreationOptions splitOptions
)
Visual Basic
Public Shared Function Create ( _
	alignmentId As ObjectId, _
	insertPosition As Point3d, _
	profileViewName As String, _
	profileViewBandSetId As ObjectId, _
	profileViewStyleId As ObjectId, _
	splitOptions As SplitProfileViewCreationOptions _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId alignmentId, 
	Point3d insertPosition, 
	String^ profileViewName, 
	ObjectId profileViewBandSetId, 
	ObjectId profileViewStyleId, 
	SplitProfileViewCreationOptions^ splitOptions
)

Parameters

alignmentId
Type: ObjectId
The ObjectId of the alignment.
insertPosition
Type: Point3d
The position at which the ProfileView is inserted.
profileViewName
Type: System..::..String
The name of the split ProfileView.
profileViewBandSetId
Type: ObjectId
The ObjectId of the ProfileViewBandSet to import to the ProfileView.
profileViewStyleId
Type: ObjectId
The ObjectId of the ProfileView style.
splitOptions
Type: Autodesk.Civil.DatabaseServices..::..SplitProfileViewCreationOptions
An object containing additional options for creating the split profileView.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  • The alignmentId is invalid.
  • The profileViewName is a duplicate.
  • The profileViewBandSetId is invalid.
  • The profileViewStyleId is invalid.

See Also