Creates a new instance of a PipeProfileLabel on the middle of a ProfileViewPart with the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public static ObjectId Create( ObjectId profileViewPartId, ObjectId profileViewId )
Visual Basic
Public Shared Function Create ( _ profileViewPartId As ObjectId, _ profileViewId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId profileViewPartId, ObjectId profileViewId )
Parameters
- profileViewPartId
- Type: ObjectId
The ObjectId of the ProfileViewPart on which the label is located.
- profileViewId
- Type: ObjectId
The ObjectId of the ProfileView in which the label is located.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|