ProfileViewCreate(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions) Method |
Creates stacked ProfileViews from the specified alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.6.1987.0
Syntaxpublic static ObjectIdCollection Create(
ObjectId alignmentId,
Point3d insertPosition,
string profileViewName,
ObjectId profileViewBandSetId,
StackedProfileViewsCreationOptions stackedOptions
)
Public Shared Function Create (
alignmentId As ObjectId,
insertPosition As Point3d,
profileViewName As String,
profileViewBandSetId As ObjectId,
stackedOptions As StackedProfileViewsCreationOptions
) As ObjectIdCollection
public:
static ObjectIdCollection^ Create(
ObjectId alignmentId,
Point3d insertPosition,
String^ profileViewName,
ObjectId profileViewBandSetId,
StackedProfileViewsCreationOptions^ stackedOptions
)
Parameters
- alignmentId ObjectId
- The ObjectId of the alignment.
- insertPosition Point3d
- The position at which the ProfileView is inserted.
- profileViewName String
- The name of the stacked ProfileViews.
- profileViewBandSetId ObjectId
- The ObjectId of the ProfileViewBandSet to import to stacked ProfileViews.
- stackedOptions StackedProfileViewsCreationOptions
- An object containing additional options for creating the stacked profileViews.
Return Value
ObjectIdCollection
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when:
- The alignmentId is invalid.
- The profileViewBandSetId is invalid.
- The profileViewName is a duplicate.
|
See Also