IForm activeForm = SuperMap.Desktop.Application.ActiveForm;
SuperMap.Realspace.Scene scene = (activeForm as IFormScene).SceneControl.Scene;
Layer3Dkml layer3dkml = scene .Layers[kmllayer_name] as Layer3Dkml
要再获取kml中的模型对象呢?
Feature3D fes = layer3dkml.Features.FindFeature(id, Feature3DSearchOption.AllFeatures);
GeoPlacemark geoplace = fes.Geometry as GeoPlacemark;
GeoModel geomod = geoplace.Geometry as GeoModel;