Share

CalculatedPointCollection.Add Method

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

CalculatedPoint

Exceptions

ExceptionCondition
[!: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

Reference

Was this information helpful?