CogoPointCollectionAdd(Point3dCollection, String, Boolean) Method |
Adds new CogoPoints at the given locations with the given description information.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectIdCollection Add(
Point3dCollection locations,
string desc,
bool useNextPointNumSetting
)
Public Function Add (
locations As Point3dCollection,
desc As String,
useNextPointNumSetting As Boolean
) As ObjectIdCollection
public:
ObjectIdCollection^ Add(
Point3dCollection^ locations,
String^ desc,
bool useNextPointNumSetting
)
Parameters
- locations Point3dCollection
- A collection of 3d points specifying the locations of the new CogoPoints.
- desc String
- The description of the new CogoPoints.
- useNextPointNumSetting Boolean
-
Return Value
ObjectIdCollection
Example1
2CogoPointCollection cogoPoints = _civildoc.CogoPoints;
3Point3dCollection points = getRandomPoints();
4cogoPoints.Add(points, "Sample COGO Point", false);
1
2Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints
3Dim points As Point3dCollection = getRandomPoints()
4
No code example is currently available or this language may not be supported.
See Also