mhamsa

Unable to open a mobile scene package (or maybe create it?)

Discussion created by mhamsa on Apr 26, 2019
Latest reply on Apr 30, 2019 by Andrew_Johnson-esristaff

Hello,

 

I'm trying to open up a mobile scene package with a point cloud layer (LAS) and I'm having some trouble. I've pulled a sample LAS dataset file down from the HI government site and loaded it up into a 3D Scene in ArcGIS Pro. From there I used the Create Mobile Scene Package geoprocessing tool to create an mspk, After that I attempted to load the scene package up onto a Runtime SceneView but the MobileScenePackage doesn't have any "Scenes" in it. I'm either not creating the scene package correctly in Pro or I'm not loading the scene package correctly in Runtime.

 

Here's the code I've got that loads up the scene package:

 

Esri.ArcGISRuntime.UI.Controls.SceneView sceneView = new Esri.ArcGISRuntime.UI.Controls.SceneView();

ControlSpace.Children.Add(sceneView);

MobileScenePackage mspk = new MobileScenePackage(FileName);

mspk.LoadAsync();

sceneView.Scene = mspk.Scenes.First();

 

Seems pretty straight forward, but I'm just not getting it.

 

Thanks,

Mike...

Attachments

Outcomes