Q&A - Question 3D Reference point Question EltS asked on April 18, 2019, keyword: Developer Kernel Hi, In 3D view, how can I programmatically define the Reference point to ON DEM and the value = 0 ? Answers EltS replied April 15, 2019 It works for me: _layer.Params.Ground = TGIS_3DGroundType.AboveDem; GIS.Viewer3D.ReferencePointOffsetZ = 0; rico52 replied April 17, 2019 GIS.Viewer3D.ReferencePointMode := TGIS_Viewer3DReferenceMode.OnDem ; GIS.Viewer3D.ReferencePointOffsetZ := 0 ; will set ReferencePoint on DEM with offsetZ=0. Dragging (camera movement in XY direction) will not change the ReferencePoint Z-value, it remains unchanged. Try GIS.Viewer3D.ReferencePointMode := TGIS_Viewer3DReferenceMode.FlyOnDem ; GIS.Viewer3D.ReferencePointOffsetZ := 0 ; if you want the ReferencePoint to be on DEM permanently. TGIS_3DGroundType setting concerns vector layers and has no influence to ReferencePoint which is related to a DEM. EltS replied April 18, 2019 It worked like a charm. Thank you Rico52. If you would like to answer the question please Sign In. * * Stay signed in on this computer Please review our recent Privacy Policy.If you have any questions or requests, please contact us. Forgotten password Rules The Questions and Answers (Q & A) is intended to provide a means of communication between TatukGIS customers. Licensed users (with active maintenance play) of TatukGIS products may contribute to the Q & A content. Read-only access is available to anyone. Keep the content positive and professional. Be courteous to others by posting information when a question or issue asked on the Q & A is answered or resolved by other means (such as with help from TatukGIS technical support). Offer others at least a hint how the posted question was answered or the issue was resolved. The Q & A is not a replacement for TatukGIS technical support. TatukGIS team may or may not regularly follow or contribute content.