Adds new CogoPoints at the given locations with the given description information.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public ObjectIdCollection Add(
Point3dCollection locations,
string desc,
bool useNextPointNumSetting
) |
Visual Basic |
---|
Public Function Add ( _
locations As Point3dCollection, _
desc As String, _
useNextPointNumSetting As Boolean _
) As ObjectIdCollection |
Visual C++ |
---|
public:
ObjectIdCollection^ Add(
Point3dCollection^ locations,
String^ desc,
bool useNextPointNumSetting
) |
Parameters
- locations
- Type: Point3dCollection
A collection of 3d points specifying the locations of the new CogoPoints.
- desc
- Type: System..::..String
The description of the new CogoPoints.
- useNextPointNumSetting
- Type: System..::..Boolean
Examples
CopyC#
1
2CogoPointCollection cogoPoints = _civildoc.CogoPoints;
3Point3dCollection points = getRandomPoints();
4cogoPoints.Add(points, "Sample COGO Point");
CopyVB.NET
1
2Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints
3Dim points As Point3dCollection = getRandomPoints()
4
See Also