SurfaceContourLabelGroupCreateMultipleAtInterval(ObjectId, Point2d, Point2d, Double, SurfaceContourLabelGroupCreateOption) Method |
Creates multiple SurfaceContourLabelGroup to a surface at a specified interval.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntaxpublic static void CreateMultipleAtInterval(
ObjectId surfaceId,
Point2d labelLineStartPoint,
Point2d labelLineEndPoint,
double interval,
SurfaceContourLabelGroupCreateOption options
)
Public Shared Sub CreateMultipleAtInterval (
surfaceId As ObjectId,
labelLineStartPoint As Point2d,
labelLineEndPoint As Point2d,
interval As Double,
options As SurfaceContourLabelGroupCreateOption
)
public:
static void CreateMultipleAtInterval(
ObjectId surfaceId,
Point2d labelLineStartPoint,
Point2d labelLineEndPoint,
double interval,
SurfaceContourLabelGroupCreateOption^ options
)
Parameters
- surfaceId ObjectId
- The object id of surface to which the label is attached.
- labelLineStartPoint Point2d
- The start point of label line.
- labelLineEndPoint Point2d
- The end point of label line.
- interval Double
- The interval between the label groups along contours.
- options SurfaceContourLabelGroupCreateOption
- The other options for creation such as label style.
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The labelStyleId property in options is not a valid label style of type: LabelStyleType::SurfaceContour.
- The surfaceId is invalid.
- The interval is not larger than 0.0;
|
See Also