Create Method (ObjectId, Point3d)

Creates a 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
)

Visual Basic

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

Visual C++

public:
static ObjectId Create(
	ObjectId alignmentId, 
	Point3d insertPosition
)

Parameters

alignmentId
Type: ObjectId
The ObjectId of the alignment.
insertPosition
Type: Point3d
The position at which the ProfileView is inserted.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the alignmentId is invalid.

See Also