ProfileViewCreateMultiple(ObjectId, Point3d, String, ObjectId, ObjectId, MultipleProfileViewsCreationOptions) Method |
Creates multiple ProfileViews from the alignment with the specified ProfileViewStyle and ProfileViewBandSet.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.6.1987.0
Syntaxpublic static ObjectIdCollection CreateMultiple(
ObjectId alignmentId,
Point3d insertPosition,
string profileViewName,
ObjectId profileViewBandSetId,
ObjectId profileViewStyleId,
MultipleProfileViewsCreationOptions multipleOptions
)
Public Shared Function CreateMultiple (
alignmentId As ObjectId,
insertPosition As Point3d,
profileViewName As String,
profileViewBandSetId As ObjectId,
profileViewStyleId As ObjectId,
multipleOptions As MultipleProfileViewsCreationOptions
) As ObjectIdCollection
public:
static ObjectIdCollection^ CreateMultiple(
ObjectId alignmentId,
Point3d insertPosition,
String^ profileViewName,
ObjectId profileViewBandSetId,
ObjectId profileViewStyleId,
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 of the ProfileViews.
- profileViewBandSetId ObjectId
- The ObjectId of the ProfileViewBandSet.
- profileViewStyleId ObjectId
- The ObjectId of the ProfileViewStyle.
- multipleOptions MultipleProfileViewsCreationOptions
- An object containing additional options for creating multiple ProfileViews.
Return Value
ObjectIdCollection
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when:
- The alignmentId is invalid.
- The profileViewName is a duplicate.
- The profileViewStyleId is invalid.
- The profileViewBandSetId is invalid.
|
See Also