有没有使用ModelsCenesymbol的ArcGIS场景中显示3D符号的方法

发布于 2025-02-03 04:05:42 字数 309 浏览 4 评论 0原文

我想显示我的自定义3D符号,而不是ArcGIS球,气缸等。对于SceneSembol标记,我尝试使用ModelsCenesymbol,但这没什么帮助,因为它没有任何方法可以导入它,我必须复制所有的所有内容代码需要将近5个类文件到程序中,但仍然存在很多错误,我仍然需要1个文件,因此现在还有另外两种方式

  1. 在网络上托管3D模型,而不是ArcGIS
  2. 使用ModelsCenesymbol以外的其他方法

。第一是我尝试将文件放在Google驱动器中并调用它,但仍然没有在场景中显示

第二个,我不知道是否还有另一种显示场景的方法

i want to display my custom 3d symbol instead of ArcGIS sphere, cylinder etc. For scenesymbol marker, i tried to use ModelSceneSymbol but it wasn't much help because it doesn't have any way to import it and i had to copy all the code required nearly 5 class files into the program and still there are a lot of errors where I still needed 1 more file, so now there are 2 more ways

  1. Host a 3D model on the web instead of ArcGIS
  2. Use something other than ModelSceneSymbol

The issue with 1st one is that i tried putting the file in Google drive and calling it but still it wasn't displaying in scene

The 2nd one i don't know if there is another way for displaying a scene

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

岁月打碎记忆 2025-02-10 04:05:42

可以使用单个代码行制作3D符号,该代码指向您的模型:

var符号=等待modelsCeneSymbol.Createasync(new Uri(@“ C:\ 3DModels \ 3dmodels \ 3dmodels \ MyModel.fbx”));

A 3D symbol can be made with a single line of code pointing to your model on disk:

var symbol = await ModelSceneSymbol.CreateAsync(new Uri(@"c:\3dmodels\mymodel.fbx"));

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文