How to enable surface constraints for a las dataset using the CIM?

12-05-2019 01:46 AM
New Contributor III

Hi there

I have added a surface constraint to a las dataset but it does not automatically enable the constraint and I am wondering how I could enable it using the SDK?

When I add the surface constraint to the las dataset while it is loaded in the map, the properties get updated but I have to manually go into the properties and select the checkbox to enable the constraint or I have to remove the las dataset and re-add it. 

I have used the CIMLASDataset's LASDataseFilter.ClassCode to access and modify the filters selected for the las dataset but I can't seem to figure out how to use the SurfaceConstraints property.

Does anyone have any suggestions or know how to do this?


0 Kudos
1 Reply
Esri Contributor

The AddFilesToLasDataset tool should turn on the added constraints by default. We're going to treat that as a bug to address.

0 Kudos