SurfaceSlopeLabelCreate(ObjectId, Point2d) Method |
Creates a new instance of an OnePoint SurfaceSlopeLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId surfaceId,
Point2d location
)
Public Shared Function Create (
surfaceId As ObjectId,
location As Point2d
) As ObjectId
public:
static ObjectId Create(
ObjectId surfaceId,
Point2d location
)
Parameters
- surfaceId ObjectId
- The object id of surface to which the label is attahed.
- location Point2d
- The place in which the label is located.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the surfaceId is invalid, or location is not on the surface.
|
See Also