Creates multiple SurfaceContourLabelGroup to a surface at a specified interval.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static void CreateMultipleAtInterval( ObjectId surfaceId, Point2d labelLineStartPoint, Point2d labelLineEndPoint, double interval, SurfaceContourLabelGroupCreateOption options )
Visual Basic
Public Shared Sub CreateMultipleAtInterval ( _ surfaceId As ObjectId, _ labelLineStartPoint As Point2d, _ labelLineEndPoint As Point2d, _ interval As Double, _ options As SurfaceContourLabelGroupCreateOption _ )
Visual C++
public: static void CreateMultipleAtInterval( ObjectId surfaceId, Point2d labelLineStartPoint, Point2d labelLineEndPoint, double interval, SurfaceContourLabelGroupCreateOption^ options )
Parameters
- surfaceId
- Type: ObjectId
The object id of surface to which the label is attached.
- labelLineStartPoint
- Type: Point2d
The start point of label line.
- labelLineEndPoint
- Type: Point2d
The end point of label line.
- interval
- Type: System.Double
The interval between the label groups along contours.
- options
- Type: Autodesk.Civil.DatabaseServices.SurfaceContourLabelGroupCreateOption
The other options for creation such as label style.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|