ProfileViewCreate(ObjectId, Point3d, String, ObjectId, ObjectId, SplitProfileViewCreationOptions) Method

Creates a split ProfileView from the specified alignment.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.6.1987.0
Syntax
public static ObjectId Create(
	ObjectId alignmentId,
	Point3d insertPosition,
	string profileViewName,
	ObjectId profileViewBandSetId,
	ObjectId profileViewStyleId,
	SplitProfileViewCreationOptions splitOptions
)

Parameters

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

Return Value

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