ProfileViewCreateMultiple(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions) Method

Creates multiple stacked ProfileViews for an alignment.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.6.1987.0
Syntax
public static ObjectIdCollection CreateMultiple(
	ObjectId alignmentId,
	Point3d insertPosition,
	string profileViewName,
	ObjectId profileViewBandSetId,
	StackedProfileViewsCreationOptions stackedOptions,
	MultipleProfileViewsCreationOptions multipleOptions
)

Parameters

alignmentId  ObjectId
The ObjectId of the alignment.
insertPosition  Point3d
The position at which the ProfileView is inserted.
profileViewName  String
The name template for the ProfileViews.
profileViewBandSetId  ObjectId
The ObjectId of the ProfileViewBandSet to import to the stacked ProfileViews.
stackedOptions  StackedProfileViewsCreationOptions
An object containing additional options for creating stacked ProfileViews.
multipleOptions  MultipleProfileViewsCreationOptions
An object containing additional options for creating multiple ProfileViews.

Return Value

ObjectIdCollection
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  • The alignmentId is invalid.
  • The profileViewName is a duplicate.
  • The profileViewBandSetId is invalid.
See Also