Adds a point at the midpoint of a specified link.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public CalculatedPoint Add( CalculatedLink link, string code )
VB
Public Function Add ( link As CalculatedLink, code As String ) As CalculatedPoint
C++
public: CalculatedPoint^ Add( CalculatedLink^ link, String^ code )
Parameters
- link CalculatedLink
- The link whose midpoint is used to locate the newly added point.
- code String
- The code of the newly added point.
Return Value
CalculatedPointExceptions
Exception | Condition |
---|---|
[!:System.InvalidOperationException] | Thrown when the point collection is not from AppliedAssembly and AppliedSubassembly. |
[!:System.ArgumentException] |
Thrown when:
|