Skip to main content
All CollectionsGround Mount TutorialsAdvanced tutorials
Working with other topographic formats
Working with other topographic formats

TIN, GeoTIFF, Polyface Mesh, TXT, 3D faces, ZIP, Topo, CSV, Civil3D, COGO

Alejandro Martinez / PVcase avatar
Written by Alejandro Martinez / PVcase
Updated over a month ago

As explained in the Topography Compatibility tutorial, only certain types of AutoCAD objects can be selected as topography in "Layout Information settings". But there are other formats that can be converted to a usable format. In this tutorial, some options are explained.

TIN Surfaces

TIN stands for Triangular Irregular Network. This is a commonly used type of surface in Civil 3D. In this tutorial, we explain how to convert a given topography (height points) into a TIN surface using Civil 3D. A TIN surface is not a valid topography format for GM (compatible formats explained here), so we also explain how to convert a TIN surface back into a usable format in PVcase GM.

Using Civil 3D to create a TIN surface based on the PVcase GM imported Terrain (height points)

In the Civil 3D "Toolspace" go to the "Prospector" tab and right-click on "Surfaces" and select "Create Surface". From the "Type" list, select "TIN surface" and "OK" to add that new surface to the list in the "Prospector" tab. Under "Definition", right-click on "Point Files" and select "Add". In the newly opened window, click on the + and select to open the CSV file generated from GM. Confirm the point file format selected is correct (usually ENZ) by checking the preview and click OK. Lastly, use "Zoom Extents" for Civil 3D to show the TIN surface with contours generated from the cloud point data:

Note: More detailed information on Civil 3D importing can be found in this AutoDesk article.

Many settings for the imported surface can be modified in Civil 3D. For example, the contour line intervals are set to 2 and 10 meters as default, but they can be changed easily to closer/wider intervals by selecting a different "Surface style":

Converting a TIN surface into a PVcase GM valid topography format

  • With Civil 3D

After reworking a certain terrain in Civil 3D, it might need to be used again in PVcase GM (for example, as a new Existing terrain for civil analysis in GM). Because GM doesn't consider TIN surfaces as a valid format for topography, Civil 3D users have the option to use the command "ExportToAutoCAD" to generate a new DWG file where the TIN surface has been converted to Major and Minor contour lines and can be used as topo in PVcase GM.

Note: More about how to use this command can be found in this AutoDesk article.

  • Without Civil 3D (in AutoCAD)

If the user doesn't have access to the Civil 3D software, when the file is opened in AutoCAD, the surface will show as an ACAD_PROXY_ENTITY that cannot be used. In some cases, that entity can be exploded in AutoCAD to expose the Contour Lines that can be used in PVcase GM. Although in most cases that option won't work, in which case the user can try to install a free Civil 3D object enabler as explained in this Autodesk Forum.

COGO Points

A COGO point is a point created by Civil 3D that contains coordinate data and other properties. COGO stands for COordinate GeOmetry.

  • With Civil 3D

If a DWG file with COGO points is opened in Civil 3D, those points will not be selectable as topography for PVcase GM (compatible formats explained here).

Civil 3D users have the option to use the command "ExportToAutoCAD" to generate a new DWG file where the COGO points have been converted to Block Reference objects (this and other conversion options are explained here). Those Block Reference objects can then be exploded to expose the Mtext objects that can be used as topo in PVcase GM.

  • Without Civil 3D

When the DWG file with COGO points is opened in regular AutoCAD, those points will show as an ACAD_PROXY_ENTITY that cannot be used as topography in GM. In some cases, that type of entity can be exploded in AutoCAD to expose the Mtext objects that can be used in PVcase GM. Although in most cases that option won't work, in which case the user can try to install a free Civil 3D object enabler as explained in this Autodesk Forum.

GeoTIFF files

GeoTIFF stands for Geographic Tagged Image File Format. This type of file allows georeferencing information to be embedded within a TIFF file.

In the future, PVcase GM might have an option to directly import GeoTIFF files to be used as topography, but until that is the case, it is possible to use this type of file by simply following these steps:

  1. Create a KML file using Google Earth (or any other software that allows for it), with a location matching that of the GEOTIFF file. For example, it could just be a boundary polyline for the site of the project at the same approximate location as the GEOTIFF (although any random object would work).

  2. Create a ZIP file that incorporates the newly created KML file and the GEOTIFF file to be imported.

  3. Import the ZIP file using "Import AO Data" tool as shown in this image:

Note: This workaround makes use of the already existing tool that was developed to import data from the PVcase Prospect site selection software (formerly known as Anderson Optimization or AO).

Polyface Mesh

A Polyface Mesh represents the surface of an object defined by faces capable of having numerous vertices. It is a common object type for topography. For example, the PVcase GM Terrain Mesh tool creates a Polyface Mesh based on the selected topography that can be used to understand terrain sloping and create slope restriction areas (more on this can be found here).

GM doesn't allow for a Polyface mesh to be selected as topography for placement of frames. But a Polyface Mesh is composed by grouped 3D Face objects, which are a valid format for topography in PVcase GM (more info on this can be found here). So it is possible to explode the Polyface Mesh in order to expose the underlying 3D faces that can be selected in "Layout Generation Settings".

TXT coordinates

In some instances the only available format for the terrain coordinates is a TXT file with X, Y, Z coordinates. This file format cannot be directly imported to AutoCAD, but with Excel it can be easily converted to cloud point data that can be copied into the DWG file and then used as topography in PVcase GM.

The steps to be followed are explained below:

Formatting of the TXT data

  1. Open Excel, go to File > Open, and navigate to the location that contains the text file.

  2. Select "Text Files" in the "File Type drop-down list" in the "Open" dialog box.

  3. Locate the text file you want to open and double-click it. If the file is a text file (.txt), Excel will launch the "Text Import Wizard".

  4. In the "Text Wizard", select the correct formatting so that the X, Y, and Z coordinates are displayed in different columns.

  5. Once you have imported the data into Excel, add a column to the right of the existing columns, paste the following formula into the first cell: =B1&","&C1&","&D1

  6. Expand the formula to all cells and copy all filled cells in this column.

Using the height point data in AutoCAD

  1. Go to AutoCAD and create a point object at 0,0,0 (so that it's easily found) in a new layer (e.g. "0TopoTXT").

  2. Select the newly created point and type COPY in the command bar.

  3. In the command bar, select the option MODE and then MULTIPLE.

  4. Now click on the command bar and paste (using ctrl+V) the column from the Excel sheet.

  5. At this stage, all points will be added to the correct positions and elevations.

  6. Now delete the point originally created in 0, 0, 0 so that it is not considered terrain data.

  7. Select the layer 0TopoTxt as Topo in the "Layout generation settings" window.

  8. Create a PVcase "Terrain Mesh" to verify if the terrain was correctly created.

Did this answer your question?