CogoPointCollection Class

This class encapsulates a collection of CogoPoint objects.
Inheritance Hierarchy
SystemObject
  Autodesk.Civil.DatabaseServicesCogoPointCollection

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class CogoPointCollection : IEnumerable<ObjectId>

The CogoPointCollection type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleCount Gets the count of CogoPoint objects in the collection.
Top
Methods
 NameDescription
Public methodCode exampleAdd(Point3d, Boolean) Adds a new CogoPoint at the given location.
Public methodCode exampleAdd(Point3dCollection, Boolean) Adds new CogoPoints at the given locations.
Public methodCode exampleAdd(Point3d, String, Boolean) Adds a new CogoPoint at the given location with the specified description information.
Public methodCode exampleAdd(Point3dCollection, String, Boolean) Adds new CogoPoints at the given locations with the given description information.
Public methodCode exampleAdd(Point3d, String, Boolean, Boolean, Boolean) Adds a new CogoPoint at the given location with the specified description information, optionally using a DescriptionKey.
Public methodCode exampleAdd(Point3dCollection, String, Boolean, Boolean, Boolean) Adds new CogoPoints at the given locations with the given description information, optionally using a DescriptionKey.
Public methodCode exampleClear Removes all CogoPoints from the collection.
Public methodCode exampleContains Determines whether the collection contains a CogoPoint with the given pointNumber.
Public methodStatic memberCode exampleExportPoints(String, PointFileFormat) Exports points to a point file.
Public methodStatic memberCode exampleExportPoints(String, PointFileFormat, ObjectId) Exports points in the specified PointGroup to a point file.
Public methodStatic memberCode exampleExportPoints(String, PointFileFormat, Boolean, Boolean, Boolean) Exports points to a point file with advanced options.
Public methodStatic memberCode exampleExportPoints(String, PointFileFormat, Boolean, Boolean, Boolean, ObjectId) Exports points in specified PointGroup to a point file with advanced options.
Public methodStatic memberCode exampleGetCogoPoints Gets the CogoPointCollection object containing all the CogoPoints in a drawing.
Public methodGetEnumerator Implements the method declared in the IEnumerable<T> interface. This method returns an enumerator that can be used to enumerate this collection.
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface. This method returns an enumerator that can be used to enumerate this collection.
Public methodCode exampleGetPointByPointNumber Gets the ObjectId of a CogoPoint by a given pointNumber.
Public methodStatic memberCode exampleImportPoints(String, PointFileFormat) Imports points from a point file.
Public methodStatic memberCode exampleImportPoints(String, PointFileFormat, ObjectId) Imports points from a point file to an existing PointGroup.
Public methodStatic memberCode exampleImportPoints(String, PointFileFormat, Boolean, Boolean, Boolean) Imports points from a point file with advanced options.
Public methodStatic memberCode exampleImportPoints(String, PointFileFormat, Boolean, Boolean, Boolean, ObjectId) Imports points from a point file to an existing PointGroup with advanced options.
Public methodCode exampleRemove(ObjectId) Removes the specified CogoPoint from the collection.
Public methodCode exampleRemove(UInt32) Removes the CogoPoint with the given pointNumber from the collection.
Public methodCode exampleSetDescriptionFormat(IEnumerableObjectId, IEnumerableString) Sets the DescriptionFormat property for multiple CogoPoints with different values.
Public methodCode exampleSetDescriptionFormat(IEnumerableObjectId, String) Sets the DescriptionFormat property for multiple CogoPoints with the same value.
Public methodCode exampleSetDescriptionFormat(ObjectId, String) Sets the DescriptionFormat property for a single CogoPoint.
Public methodCode exampleSetEasting(IEnumerableObjectId, IEnumerableDouble) Sets the Easting property for multiple CogoPoints with different values.
Public methodCode exampleSetEasting(IEnumerableObjectId, Double) Sets the Easting property for multiple CogoPoints with the same value.
Public methodCode exampleSetEasting(ObjectId, Double) Sets the Easting property for a single CogoPoint.
Public methodCode exampleSetElevation(IEnumerableObjectId, IEnumerableDouble) Sets the elevation for multiple CogoPoints with different elevation values.
Public methodCode exampleSetElevation(IEnumerableObjectId, Double) Sets Elevation for multiple CogoPoints with the same elevation.
Public methodCode exampleSetElevation(ObjectId, Double) Sets Elevation for a single CogoPoint.
Public methodCode exampleSetElevationByOffset(IEnumerableObjectId, IEnumerableDouble) Sets Elevation for multiple CogoPoints with different elevation values.
Public methodCode exampleSetElevationByOffset(IEnumerableObjectId, Double) Sets the elevation for multiple CogoPoints with the same elevation using an offset value.
Public methodCode exampleSetElevationByOffset(ObjectId, Double) Sets the elevation for a single CogoPoint using an offset value.
Public methodCode exampleSetElevationBySurface(IEnumerableObjectId, ObjectId) Sets the elevation for multiple CogoPoints with elevation values obtained from a specified surface.
Public methodCode exampleSetElevationBySurface(ObjectId, ObjectId) Sets the elevation for a single CogoPoint with the elevation obtained from a specified surface.
Public methodCode exampleSetIsLocked(IEnumerableObjectId, Boolean) Sets the IsLocked property for multiple CogoPoints with the same value.
Public methodCode exampleSetIsLocked(IEnumerableObjectId, IEnumerableBoolean) Sets IsLocked for multiple CogoPoints with different values.
Public methodCode exampleSetIsLocked(ObjectId, Boolean) Sets the IsLocked property for a single CogoPoint.
Public methodCode exampleSetLabelRotation(IEnumerableObjectId, IEnumerableDouble) Sets the LabelRotation property for multiple CogoPoints with different values.
Public methodCode exampleSetLabelRotation(IEnumerableObjectId, Double) Sets the LabelRotation property for multiple CogoPoints with the same value.
Public methodCode exampleSetLabelRotation(ObjectId, Double) Sets the LabelRotation property for a single CogoPoint.
Public methodCode exampleSetLabelStyleId(IEnumerableObjectId, ObjectId) Sets the LabelStyleId for multiple CogoPoints with the same style.
Public methodCode exampleSetLabelStyleId(IEnumerableObjectId, IEnumerableObjectId) Sets the LabelStyleId for multiple CogoPoints with different styles.
Public methodCode exampleSetLabelStyleId(ObjectId, ObjectId) Sets the LabelStyleId for a single CogoPoint.
Public methodCode exampleSetMarkerRotation(IEnumerableObjectId, IEnumerableDouble) Sets the MarkerRotation property for multiple CogoPoints with different values.
Public methodCode exampleSetMarkerRotation(IEnumerableObjectId, Double) Sets the MarkerRotation property for multiple CogoPoints with the same value.
Public methodCode exampleSetMarkerRotation(ObjectId, Double) Sets the MarkerRotation property for a single CogoPoint.
Public methodCode exampleSetNorthing(IEnumerableObjectId, IEnumerableDouble) Sets the Northing property for multiple CogoPoints with different values.
Public methodCode exampleSetNorthing(IEnumerableObjectId, Double) Sets the Northing property for multiple CogoPoints with the same value.
Public methodCode exampleSetNorthing(ObjectId, Double) Sets the Northing property for a single CogoPoint.
Public methodCode exampleSetPointName(IEnumerableObjectId, IEnumerableString) Sets the PointName property for multiple CogoPoints with different values.
Public methodCode exampleSetPointName(ObjectId, String) Sets the PointName property for a single CogoPoint.
Public methodCode exampleSetPointNumber(IEnumerableObjectId, Int32) Sets the PointNumber for multiple CogoPoints with different values.
Public methodCode exampleSetPointNumber(ObjectId, UInt32) Sets the PointNumber for a single CogoPoint.
Public methodCode exampleSetRawDescription(IEnumerableObjectId, IEnumerableString) Sets the RawDescription property for multiple CogoPoints with different RawDescription values.
Public methodCode exampleSetRawDescription(IEnumerableObjectId, String) Sets the RawDescription property for multiple CogoPoints with a single RawDescription value.
Public methodCode exampleSetRawDescription(ObjectId, String) Sets the RawDescription property for a single CogoPoint.
Public methodCode exampleSetScaleXY(IEnumerableObjectId, IEnumerableDouble) Sets ScaleXY for multiple CogoPoints with different values.
Public methodCode exampleSetScaleXY(IEnumerableObjectId, Double) Sets the ScaleXY property for multiple CogoPoints with the same value.
Public methodCode exampleSetScaleXY(ObjectId, Double) Sets the ScaleXY property for a single CogoPoint.
Public methodCode exampleSetScaleZ(IEnumerableObjectId, IEnumerableDouble) Sets ScaleZ for multiple CogoPoints with different values.
Public methodCode exampleSetScaleZ(IEnumerableObjectId, Double) Sets ScaleZ for multiple CogoPoints with the same value.
Public methodCode exampleSetScaleZ(ObjectId, Double) Sets ScaleZ for a single CogoPoint.
Public methodCode exampleSetShowTooltips(IEnumerableObjectId, Boolean) Sets the ShowTooltips property for multiple CogoPoints with the same value.
Public methodCode exampleSetShowTooltips(IEnumerableObjectId, IEnumerableBoolean) Sets the ShowTooltips property for multiple CogoPoints with different values.
Public methodCode exampleSetShowTooltips(ObjectId, Boolean) Sets the ShowTooltips property for a single CogoPoint.
Public methodCode exampleSetStyleId(IEnumerableObjectId, ObjectId) Sets the StyleId for multiple CogoPoints with the same style.
Public methodCode exampleSetStyleId(IEnumerableObjectId, IEnumerableObjectId) Sets the StyleId for multiple CogoPoints with different styles.
Public methodCode exampleSetStyleId(ObjectId, ObjectId) Sets the StyleId for a single CogoPoint.
Top
See Also