ProfileEntityCollectionAddFloatingTangentByGradeAndLength Method |
Creates a floating tangent defined by an entity to attach to, a grade, and a length.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntaxpublic ProfileTangent AddFloatingTangentByGradeAndLength(
uint entityId,
double grade,
double length,
EntityAttachType attachType
)
Public Function AddFloatingTangentByGradeAndLength (
entityId As UInteger,
grade As Double,
length As Double,
attachType As EntityAttachType
) As ProfileTangent
public:
ProfileTangent^ AddFloatingTangentByGradeAndLength(
unsigned int entityId,
double grade,
double length,
EntityAttachType attachType
)
Parameters
- entityId UInt32
- The ID of the entity to attach to.
- grade Double
- The grade of the tangent.
- length Double
- The length of the tangent.
- attachType EntityAttachType
- Specifies how to attach the tangent to the given entity.
Return Value
ProfileTangentThe newly created
ProfileTangent.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
Thrown when the given entity ID is invalid or does not exist in the collection.
|
See Also