Private Function Get3DPropsFromLayer(layer As ILayer) As I3DProperties3 Dim layerExtensions As ILayerExtensions Set layerExtensions = layer Dim i As Long For i = 0 To layerExtensions.ExtensionCount - 1 If TypeOf layerExtensions.Extension(i) Is I3DProperties3 Then Set Get3DPropsFromLayer = layerExtensions.Extension(i) Exit For End If Next i End Function '[立ち上げ] タブ p3DProperties2.ExtrusionExpressionString = "[P_NUM]" '立ち上げの式または値 p3DProperties2.ExtrusionType = esriExtrusionBase '各フィーチャのベース標高値を基準 p3DProperties2.Apply3DProperties pLayer '適用 pSxDocument.Scene.SceneGraph.ActiveViewer.Redraw True '再描画
I3DProperties3 オブジェクトの取得
2016/9/1 (木)