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

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

Return Value

Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.9 or higher.
See Also