首页 / 浏览问题 / 三维GIS / 问题详情
.net管点加载问题
18214558...  (57EXP)  初出茅庐
8月17日, 2017
.net开发时 ,通过Theme3DCustom专题图加载管点,符号用在idesktop中创建的三维自适应管点符号时,场景中不会出现此符号。将符号换成导入的模型符号时,却能有显示。这个问题怎么解决。代码如下

            Theme3DCustom theme3D = new Theme3DCustom();
            theme3D.MarkerSymbolIDExpression = "ModelID3";
            theme3D.Marker3DScaleXExpression = "Marker3DScaleX";
            theme3D.Marker3DScaleYExpression = "Marker3DScaleY";
            theme3D.Marker3DScaleZExpression = "Marker3DScaleZ";
            theme3D.Marker3DRotateXExpression = "Marker3DRotateX";
            theme3D.Marker3DRotateYExpression = "Marker3DRotateY";
            theme3D.Marker3DRotateZExpression = "Marker3DRotateZ";
            layerNetNode = sceneControl.Scene.Layers.Add(networkDataset.ChildDataset, theme3D, false, "NetNode1");

这个问题在示例中也存在。如在示例OpenScene中,将地下管点数据的符号编号换为自适应管点的符号编号,是无法显示的

1个回答

您好,管点专题图需要先链接父对象:即调用Layer3D.SetParentLayer(Layer3D value);

张阳名  (5,560EXP)  登峰造极
8月17日, 2017
...