Creates a new instance of an OnePoint SurfaceElevationLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public static ObjectId Create( ObjectId surfaceId, Point2d location )
Visual Basic
Public Shared Function Create ( _ surfaceId As ObjectId, _ location As Point2d _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId surfaceId, Point2d location )
Parameters
- surfaceId
- Type: ObjectId
The object id of surface to which the label is attahed.
- location
- Type: Point2d
The place in which the label is located.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the surfaceId is invalid, or location is not on the surface. |