ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data Namespace / CadDatasetDefinition Class / GetSpatialReference Method

In This Topic
    GetSpatialReference Method (CadDatasetDefinition)
    In This Topic
    Gets the ArcGIS.Core.Geometry.SpatialReference for the CadDataset. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetSpatialReference() As SpatialReference
    public SpatialReference GetSpatialReference()

    Return Value

    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also