CogoPointCollectionAdd(Point3d, Boolean) Method |
Adds a new CogoPoint at the given location.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectId Add(
Point3d location,
bool useNextPointNumSetting
)
Public Function Add (
location As Point3d,
useNextPointNumSetting As Boolean
) As ObjectId
public:
ObjectId Add(
Point3d location,
bool useNextPointNumSetting
)
Parameters
- location Point3d
- The location of the new CogoPoint.
- useNextPointNumSetting Boolean
-
Return Value
ObjectIdThe ObjectId of the newly-created CogoPoint.
Remarks
The created CogoPoint's Description is empty.
Example1
2
3CogoPointCollection cogoPoints = _civildoc.CogoPoints;
4Point3d location = new Point3d(100.0, 150.0, 50.0);
5cogoPoints.Add(location, false);
1
2
3Dim cogoPoints As CogoPointCollection = _civildoc.CogoPoints
4Dim location As New Point3d(100.0, 150.0, 50.0)
5cogoPoints.Add(location, False)
No code example is currently available or this language may not be supported.
See Also