StructureProfileLabelCreate(ObjectId, ObjectId, ObjectId) Method |
Creates a new instance of a StructureProfileLabel on a ProfileViewPart using the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId profileViewId,
ObjectId profileViewPartId,
ObjectId labelStyleId
)
Public Shared Function Create (
profileViewId As ObjectId,
profileViewPartId As ObjectId,
labelStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId profileViewId,
ObjectId profileViewPartId,
ObjectId labelStyleId
)
Parameters
- profileViewId ObjectId
- The ObjectId of the ProfileView in which the label is located.
- profileViewPartId ObjectId
- The ObjectId of the ProfileViewPart in which the label is located.
- labelStyleId ObjectId
- The ObjectId of a StructureProfileLabel style to use.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The profileViewPartId, profileViewId or labelStyleId is invalid.
- The StructureProfile is not in the ProfileView.
|
See Also