Creates a new instance of a StructureProfileLabel on the center of a ProfileViewPart using the default label style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId profileViewId, ObjectId profileViewPartId )
VB
Public Shared Function Create ( profileViewId As ObjectId, profileViewPartId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId profileViewId, ObjectId profileViewPartId )
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.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|