有没有使用ModelsCenesymbol的ArcGIS场景中显示3D符号的方法
我想显示我的自定义3D符号,而不是ArcGIS球,气缸等。对于SceneSembol标记,我尝试使用ModelsCenesymbol,但这没什么帮助,因为它没有任何方法可以导入它,我必须复制所有的所有内容代码需要将近5个类文件到程序中,但仍然存在很多错误,我仍然需要1个文件,因此现在还有另外两种方式
- 在网络上托管3D模型,而不是ArcGIS
- 使用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
- Host a 3D model on the web instead of ArcGIS
- 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以使用单个代码行制作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"));