nanoCAD Platform Help

Import and Export

Importing Geopoints

CAD drafting Import and Export 0       Ribbon: TopoplanImport/Export > CAD software Import and Export 1 Import geo-points

CAD drawing Import and Export 2       Menu: GroundImport/Export > CAD drafting Import and Export 3 Import Geo Points

CAD software Import and Export 4       Toolbar: Import/Export > CAD drawing Import and Export 5 Import Geo Points

CAD drafting Import and Export 6       Command line: NG_IMPORT_POINTS

The command is designed to import text files from CSV, SDR (Sokkia), XYZ and TXT. In the import dialog you can configure the rules for interpreting and uploading file contents.

CAD software Import and Export 7

Parameters

Description

Open

Open text file CSV, SDR (Sokkia), XYZ and TXT to import geodata. You can open multiple files at the same time.

Encoding

Encoding of the imported text file.

CAD drawing Import and Export 8

New line character

Allows you to override the newline character. The default character is \n.

Content start line

Line number of significant content, if the file beginning contains any service information, except for point coordinates.

Comment

Specifies the character that is used to comment lines. Commented lines are not considered as data during import. If there are no comments in the file, then leave the field blank. The default character is \\.

Separator

Specifies a character that separates data in a text file. You can choose both predefined ones (period, comma, semicolon, tab character, space), or set any other, if necessary, using regular expressions.

Raw data

Preview of text file data. Selected data can be copied.

CAD drafting Import and Export 9 

UPD classification

You can add custom properties to points with the CAD software Import and Export 10 button. You should specify the type (integer, float, or string) and name. When setting an integer value in the property classification, a decimal fraction (for example, "1.2") is imported as 0.

The Rotation property is applicable to all types of objects. For geopoints, this is the rotation of the label, for blocks, this is the rotation of the attribute, for simple points, this is the rotation of the created text.

CAD drawing Import and Export 11

A new empty column with the name of the custom parameter appears in the Result table. Drag this column heading onto the heading of the column you want it to match.

CAD drafting Import and Export 12

You can delete unnecessary custom properties with the CAD software Import and Export 13 button.

Upon the points are imported, custom properties can be viewed and edited in the Properties bar just like other properties.

CAD drawing Import and Export 14

If the table has more than 5 columns, then a new column is not created, but the name of the 6th is overwritten.

CAD drafting Import and Export 15 

Filters

You can exclude data from import not only manually by deleting cells from the Result table, but also by setting filters. For example, you can exclude from import all points with heights below 52 (column Z) and with a number greater than 350 (column Name).

CAD software Import and Export 16

After adding the filter with the CAD drawing Import and Export 17 button, in the drop-down list, select the column by which all imported data will be filtered. Then set the value that the column data should satisfy. The rest of the lines will be excluded from import. Hovering over a filter displays a tooltip with sample values.

CAD drafting Import and Export 18

It is recommended to set filters only after correct data typing in the Result section.

Result

The table specifies the correspondence of the text file columns to certain data types: point X, Y and Z coordinates, numbers, point descriptions. The column heading displays the data type. In case of incorrect initial data typing, you can drag one column to another by the header, mutually changing the data in these columns.

You can delete selected cells, rows, or columns. Multiple selection is supported using SHIFT and CTRL. Rows or columns are selected by clicking on the heading. Before manually deleting data, it is recommended to filter it out using filters.

You can also edit the data after double-clicking on a cell.

CAD software Import and Export 19

 

Drawing objects

The section determines the form objects the geopoints should be imported from an external file (that is, by what objects they will be represented in the drawing). And also what titles the point label will consist of, and what design they will have.

 

You can import geodata as:

·   Common Point objects with labels as text objects;

·   Blocks (like blocks from the Conventional sign bar)

·   Objects of the Geopoint type with a label.

 

In case of importing data in the form of COGOpoint object, specify a group for them in the drop-down list below.

CAD drawing Import and Export 20

The list contains only groups of geopoints that exist in the current drawing. To create a new group, select the Create new option and enter a name for the new group.

If the Block was selected, the imported points will be presented as block inserts with single-line attributes to display label titles. To do this, a new block will be created in the drawing. The conventional sign for the point marker will be taken from the block in the dropdown list below.

CAD drafting Import and Export 21

Only the blocks that already exist in the current drawing are available in the list. To make the blocks of the Conventional signs toolbar available, insert at least one conventional sign into the drawing.

When importing, it is possible to select a block for the marker and the main block (marker + attributes). If the main block existing in the drawing is selected, you can add block attributes in the property classification (they will appear as columns in the table for further editing). The block selected for import is analyzed for the presence of attributes. Next, select an attribute that, when imported, will be filled with data from the point file. When adding an attribute, one of the existing parameters should be selected from the proposed ones (attribute, udp, rotation); if a new attribute is created, then the "=" sign should not be there.

 

CAD software Import and Export 22

The blocks will be inserted with a scale that takes into account the values of the current topographic scale.

If the Create new option is selected instead of selecting an existing block in the list, then after starting import, the block editor will open to create a point marker (conventional sign) block. The default is a circle. In the block editor, edit the marker, save the block, and exit the editor to complete the import.

When choosing to import a block from the list of those existing in the drawing, the selection of such attributes as Name, Elevation, Code is irrelevant – they will not be created additionally. They are grayed out and blocked.

CAD drawing Import and Export 23

 

 

You can mark which attributes will be displayed in the geopoint description on the drawing: geopoint number (name), elevation (Z-coordinate) and code (point description).

CAD drafting Import and Export 24

You can automatically create a polyline connecting all imported points. For example, if these are points of a road or a building.

CAD software Import and Export 25

To place points and titles, you can assign individual layers and colors. Titles can also be assign with a font.

CAD drawing Import and Export 26

Labels can be assigned to a style.

CAD drafting Import and Export 27

 

Recalculate by EPSG

CAD software Import and Export 28

Select in what coordinate system to import geodata: World or Custom ones or recalculate by EPSG codes:

CAD drawing Import and Export 29

Additional Options

The Additional Options button opens the window where you can change the settings for the units (UNITS) with which geopoints should be imported. By default, the current drawing units are used. The Type (External file) setting allows the user to set the data format in the external file. The data is converted into a format that is more convenient to edit and transferred to the drawing.

CAD drafting Import and Export 30

Current profile

Allows you to save all the settings made in the dialog to a profile for further use.

CAD software Import and Export 31

When Importing geopoints, standard styles are created. The _All points group is assigned a style that has 3 decimal places by default. For a larger or smaller number of decimal places, you need to create a new group during import and specify the number of decimal places in the Additional options.

CAD drawing Import and Export 32

You can change the standard style by starting editing it from the Drawing Explorer.

CAD drafting Import and Export 33

Note

There are limitations for importing files containing very large numbers of lines. Files larger than 10000 lines are not supported. For simple points and blocks – 2000000. To be able to work with the data, split the file into smaller parts.

 

Info: NanoCAD is an easy-to-use, affordable, and yet professional, CAD freeware tool for Windows, that allows a great user experience by providing enhanced performance, full capability, a classic interface and native.dwg format support. nanoCAD has been built to deliver design and project documentation for all industries. nanoCAD includes a full suite of basic and advanced CAD tools for 2D/3D design and creating industry-standard DWG-compatible CAD files. Our tool provides groundbreaking, collaborative and customizable features to raise your efficiency, and includes several API's, allowing anything from routine task automation to complex CAD app development. You may download nanoCad for free, using the links below, and purchase later, in case you like it.