laptop and a wrench

不具合

The spatial reference of a Geometry object coming from MultiPatchBuilderEx.ToGeometry() is null even if the MultiPatchBuilderEx does have a spatial reference.

最後に公開された状態: November 27, 2020 ArcGIS Pro SDK for .NET
不具合 ID 番号 BUG-000135314
送信されましたNovember 10, 2020
最終更新日July 11, 2025
適用対象ArcGIS Pro SDK for .NET
見つかったバージョン2.6.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0
修正されたバージョン2.7
ステータスFixed

対処法

Consider the following code:

        var multi = new MultipatchBuilder(mpb.ToGeometry() as Multipatch);

        multi.SpatialReference = gda94;

        mutltipatch = multi.ToGeometry();

where mpb is a MultipatchBuilderEx object and GDA94 is a spatial reference. By getting the geometry of the mpb and sending that as a parameter for the Multipatch Builder constructor, the user can set the spatial reference of the multipatch geometry to whatever the user wants and then use the ToGeometry() method to get a geometry object with a spatial reference.

再現の手順

不具合 ID: BUG-000135314

ソフトウェア:

  • ArcGIS Pro SDK for .NET

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動