Creates multiple ProfileViews from the alignment with the specified ProfileViewStyle and ProfileViewBandSet.

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

Syntax

C#
public static ObjectIdCollection CreateMultiple(
	ObjectId alignmentId,
	Point3d insertPosition,
	string profileViewName,
	ObjectId profileViewBandSetId,
	ObjectId profileViewStyleId,
	MultipleProfileViewsCreationOptions multipleOptions
)
Visual Basic
Public Shared Function CreateMultiple ( _
	alignmentId As ObjectId, _
	insertPosition As Point3d, _
	profileViewName As String, _
	profileViewBandSetId As ObjectId, _
	profileViewStyleId As ObjectId, _
	multipleOptions As MultipleProfileViewsCreationOptions _
) As ObjectIdCollection
Visual C++
public:
static ObjectIdCollection^ CreateMultiple(
	ObjectId alignmentId, 
	Point3d insertPosition, 
	String^ profileViewName, 
	ObjectId profileViewBandSetId, 
	ObjectId profileViewStyleId, 
	MultipleProfileViewsCreationOptions^ multipleOptions
)

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 template of the ProfileViews.
profileViewBandSetId
Type: ObjectId
The ObjectId of the ProfileViewBandSet.
profileViewStyleId
Type: ObjectId
The ObjectId of the ProfileViewStyle.
multipleOptions
Type: Autodesk.Civil.DatabaseServices..::..MultipleProfileViewsCreationOptions
An object containing additional options for creating multiple ProfileViews.

Exceptions

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

See Also