Creates a ProfileView from the specified alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId Create( ObjectId alignmentId, Point3d insertPosition, string profileViewName, ObjectId profileViewBandSetId, ObjectId profileViewStyleId )
Visual Basic
Public Shared Function Create ( _ alignmentId As ObjectId, _ insertPosition As Point3d, _ profileViewName As String, _ profileViewBandSetId As ObjectId, _ profileViewStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId alignmentId, Point3d insertPosition, String^ profileViewName, ObjectId profileViewBandSetId, ObjectId profileViewStyleId )
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 of the stacked ProfileViews.
- profileViewBandSetId
- Type: ObjectId
The ObjectId of the ProfileViewBandSet to import to the ProfileView.
- profileViewStyleId
- Type: ObjectId
The ObjectId of the ProfileView style.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|