CalculatedPointCollectionAdd Method |
Adds a point at the midpoint of a specified link.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic CalculatedPoint Add(
CalculatedLink link,
string code
)
Public Function Add (
link As CalculatedLink,
code As String
) As CalculatedPoint
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
CalculatedPoint
ExceptionsException | Condition |
---|
[!:System.InvalidOperationException] |
Thrown when the point collection is not from AppliedAssembly and AppliedSubassembly.
|
[!:System.ArgumentException] |
Thrown when:
- The link is not from the same AppliedAssembly or AppliedSubassemby as the point collection
- The code is invalid.
|
Remarks
This operation only immediately affects the objects those are from the same AppliedAssembly object or got from Baseline subsequently.
See Also