Share

SurfaceSlopeLabel.GetAvailableSurfaceSlopeLabels Method

Note: This API is now obsolete.

Returns the ObjectId collection of slope labels on the specified surface.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.SurfaceElevationLabel.GetAvailableSurfaceElevationLabelIds instead.", 
	false)]
public static ObjectIdCollection GetAvailableSurfaceSlopeLabels(
	ObjectId surfaceId
)

VB

<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.SurfaceElevationLabel.GetAvailableSurfaceElevationLabelIds instead.", 
	false)>
Public Shared Function GetAvailableSurfaceSlopeLabels ( 
	surfaceId As ObjectId
) As ObjectIdCollection

C++

public:
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.SurfaceElevationLabel.GetAvailableSurfaceElevationLabelIds instead.", 
	false)]
static ObjectIdCollection^ GetAvailableSurfaceSlopeLabels(
	ObjectId surfaceId
)

Parameters

surfaceId  ObjectId
ObjectId of the surface where the labels are located.

Return Value

ObjectIdCollection

Exceptions

ExceptionCondition
ArgumentException Thrown when objectId of surface is invalid.

See Also

Reference

Was this information helpful?