ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMGroundToGridCorrection Class
Members Example

In This Topic
    CIMGroundToGridCorrection Class
    In This Topic
    Defines the properties needed to perform a COGO ground to grid correction when adding new features.
    Object Model
    CIMGroundToGridCorrection ClassCIMGroundToGridCorrection ClassCIMGroundToGridCorrection Class
    Syntax
    Example
    G2G Settings
    CIMGroundToGridCorrection correction = null;
    bool isCorecting = correction.IsCorrecting();   // equivalent to correction != null && correction.Enabled;
    bool UsingOffset = correction.UsingDirectionOffset();   // equivalent to correction.IsCorrecting() && correction.UseDirection;
    double dOffset = correction.GetDirectionOffset(); // equivalent to correction.UsingDirectionOffset() ? correction.Direction : DefaultDirectionOffset;
    bool usingDistanceFactor = correction.UsingDistanceFactor();  // equivalent to correction.IsCorrecting() && correction.UseScale;
    bool usingElevation = correction.UsingElevationMode(); // equivalent to correction.UsingDistanceFactor() && c.ScaleType == GroundToGridScaleType.ComputeUsingElevation;
    bool usingSFactor = correction.UsingConstantScaleFactor();  //; equivalent to correction.UsingDistanceFactor() && correction.ScaleType == GroundToGridScaleType.ConstantFactor;
    double dSFactor = correction.GetConstantScaleFactor(); // equivalent to correctionc.UsingDistanceFactor() ? correction.ConstantScaleFactor : DefaultConstantScaleFactor;
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.CIM.CIMObject
          ArcGIS.Core.CIM.CIMGroundToGridCorrection

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also