Create Method (ObjectId, Point3d, SplitProfileViewCreationOptions)

Creates a split ProfileView from the specified alignment with the default ProfileView name and BandSetStyle.

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

Syntax

C#

public static ObjectId Create(
	ObjectId alignmentId,
	Point3d insertPosition,
	SplitProfileViewCreationOptions splitOptions
)

Visual Basic

Public Shared Function Create ( _
	alignmentId As ObjectId, _
	insertPosition As Point3d, _
	splitOptions As SplitProfileViewCreationOptions _
) As ObjectId

Visual C++

public:
static ObjectId Create(
	ObjectId alignmentId, 
	Point3d insertPosition, 
	SplitProfileViewCreationOptions^ splitOptions
)

Parameters

alignmentId
Type: ObjectId
The ObjectId of the alignment.
insertPosition
Type: Point3d
The position at which the ProfileView is inserted.
splitOptions
Type: Autodesk.Civil.DatabaseServices.SplitProfileViewCreationOptions
The class including datas for split profileView options.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the alignmentId is invalid.

See Also