Contacts

Export points in TXT from AutoCAD drawing. Export coordinates from CAD to TXT. Working with the program

Suppose we want to export the Points of the CAD format, to the list divided by commas to download to the common station and make a bet on the site. We used to see how to import them from Excel or TXT with AutoCAD. y. with Microstation.Now let's see how to export them.

There are different ways to do it, for example, counting cows, you can calculate the legs and divide them into four, or you can no longer count the cows. Let's see several ways:

1. Execute this using MicroStation (DGN to TXT)

In the example, I have a schedule that has five vertices, and I need to export the coordinates in the TXT file.

For this, I put points in the visible thickness. Remember that the thickness of the line in the MicroStation is dynamic, so they are immediately seen.

First step: Activate the coordinate export tool (if it is not active), for this we choose

instruments
Toolboxes
We activate the last team (XYZ)
Then we closed the panel and were to be activated in this way.

Second step: Select the points that we want to export, then select the "Export Coordinates" command, which is the up arrow, and fill out the conditions:

Data file.
-File name
- Replace coordinates
-Niver
-Decimales.
-Separador.
-Having
Construction / suffix
- initial number

The panel allows you to choose the parameters if only the selected drawings (single), drawings inside the fence or the entire file (all)

The end result is a TXT file that can be opened from Excel.

In my case, I assigned the number, noting the checkbox that is on the right

In case the file already exists, the window is displayed, requesting whether you want to replace or add (add or add).

To determine which points, the microstation is gaining numbers at each point, with the color, type of string and the size of the text that you are active.

2. Execution of this using AutoCAD

Before familiarizing with CivilCad (SoftDesk), we used the DOS app that is still called dXF2CSV. You can try it if you like torturing yourself nostalgia, 🙂 There are also several applications " no free"And I am sure that there must be some kind of free, but in this case we will see how it is done with SoftDesk8, it looks like Civilcad.

To make points visible, I changed the format with the format / point format / style point. In order for the thickness of the lines to be visible, you need to activate "LTS" using a smaller value of 1 until we see the difference.

First step: Open the project or create a new

Second step: Enter points to the database: for this there are different forms, in this case we will do it automatically: points / set points / automatically, then select each line of the polygon.
The signal that was entered is to make points / setpoint / list of available points. It must show + 6, which means that points 5 have already been introduced into the database.

Third step: export points.
To export the items that we do:

points / Import-Export Points / Export Points to File
- Choose export format, in this case PNE (point, north, east)
-We choose the file destination folder and write the name
- In the command line, we choose the export parameters (optional, in the rank ... In this case, we use everything, all)
- The file disappeared, in this case, the separated Expacios, but equal can be opened using Excel

If the points are written with large sizes, you need to change metric units, because English (AEC / SETUP Drawing / Unit AEC / SELECT Métric) come by default

On this point, the point did not have the height, this topic will see in the other post when we talk about contour lines.

Believe my perseverance, does anyone know the macro for ATOCAD, which is easier and freer?

Does anyone else do it?

(DWG, DXF). Imported text can be translated using With the use of translation memories () and glossaries, which allows you to save the time required for the translation. The translated text using the TXT2DXF utility can be imported back to AutoCAD drawing. DXF2TXT and TXT2DXF utilities are command-line utilities, it is extremely easy to use and provide effective results.

Program author: mikegor. (Mikhail), page DXF2TXT and TXT2DXF and contact with the author

Distribution conditions : Free.

Detailed description:

DXF2TXT and TXT2DXF utilities are designed to export text from AutoCAD drawings (DWG, DXF) and import translated text back to the drawings. DXF2TXT and TXT2DXF utilities are command line utilities. The DXF 2004 format is supported. The program history has been described from 2006 as follows: AutoCAD -\u003e Text -\u003e TM -\u003e AutoCAD.

Instructions for use

  1. Preparing a drawing for translation: often in drawings, a large text block is broken into separate blocks of TEXT type. It is recommended to combine them into single MTEXT blocks using Express-Utilities: We mark the necessary Text blocks and then Express -\u003e Text -\u003e Convert TEXT to MTEXT. Next, the drawing should be exported to the DXF format. If there are objects in the drawing that are difficult to export, then you can collect all the text in need of translation and export only it in DXF.
  2. Suppose that the drawings are Machine1.dxf and Machine2.dxf are in the C: \\ Translate \\ Zhadinagovyadina \\ Project200 folder. The executable files of DXF2TXT.exe utilities and txt2dxf.exe must be either placed in the same folder or in a folder that is enabled in the PATH system variable. For example, if the utilities are located in the C: \\ Program Files \\ DxFutil folder, then right click on "My Computer" - Properties - Advanced - Wednesday Variables. There in the system variables either in variables for the current user we find the PATH variable and at the end add :; C: \\ Program Files \\ DxFutil (a semicolon is the separator of different paths in this variable).
  3. Call the command line: Start - Run - CMD. Enter the following commands, completing each of them. ENTER:C: CD C: \\ TRANSLATE \\ Zhadinagovyadina \\ Project200
    C: DXF2TXT Machine1.dxf Machine2.dxf

    After that, the Machine1.txt and Machine2.txt files will appear in this folder. In these files, each exported text block has a format:

    (N-MMM)
    Text, Text, Text

    n is a number from 1 to 4, denoting the type of MTEXT / TEXT / DIMENSION / ATTDEF block, MMM, the block number of the block. Blocks of different types are numbered separately.

  4. The resulting text files are translated into the favorite TM program. For example, if we use the trados, we import a text file in Word and then act in the standard way. The file structure should not be changed, i.e. You can not remove block labels and insert the ends of paragraphs. When the translation is ready, export it back to the text file. Let, for example, the source file has the form:

    {2-001}
    I Have A Cat.
    {1-001}
    I Like Apples.

    The translation should look completely similar:

    {2-001}
    I have a cat.
    {1-001}
    I like apples.

  5. After that, we import translation back into the drawing. Suppose that the translated text files have the same names, Machine1.txt and Machine2.txt. Then in the command prompt, type the command:tXT2DXF Machine1.dxf Machine2.dxf.

    After that, the Machine1_tr.dxf and Machine2_tr.dxf files will appear in the current folder (the originals of the Machine1.dxf and Machine2.dxf drawings are saved). If the file names are Others, say, Machine1_en.txt and Machine2_en.txt, then and DXF files in which the text will be imported, you must copy to files with similar names Machine1_ru.dxf and Machine2_ru.dxf, and after imports Machine1_en_tr files will be created. DXF and Machine2_ru_tr.dxf.

    If everything was done correctly, then the translated text blocks will appear exactly where the source texts were. If the blocks are knocked down, look for extra lines in a text file with translation.

Suppose we want to export the Points of the CAD format, to the list divided by commas to download to the common station and make a bet on the site. We used to see how to import them from Excel or TXT with AutoCAD. y. with Microstation.Now let's see how to export them.

There are different ways to do it, for example, counting cows, you can calculate the legs and divide them into four, or you can no longer count the cows. Let's see several ways:

1. Execute this using MicroStation (DGN to TXT)

In the example, I have a schedule that has five vertices, and I need to export the coordinates in the TXT file.

For this, I put points in the visible thickness. Remember that the thickness of the line in the MicroStation is dynamic, so they are immediately seen.

First step: Activate the coordinate export tool (if it is not active), for this we choose

instruments
Toolboxes
We activate the last team (XYZ)
Then we closed the panel and were to be activated in this way.

Second step: Select the points that we want to export, then select the "Export Coordinates" command, which is the up arrow, and fill out the conditions:

Data file.
-File name
- Replace coordinates
-Niver
-Decimales.
-Separador.
-Having
Construction / suffix
- initial number

The panel allows you to choose the parameters if only the selected drawings (single), drawings inside the fence or the entire file (all)

The end result is a TXT file that can be opened from Excel.

In my case, I assigned the number, noting the checkbox that is on the right

In case the file already exists, the window is displayed, requesting whether you want to replace or add (add or add).

To determine which points, the microstation is gaining numbers at each point, with the color, type of string and the size of the text that you are active.

2. Execution of this using AutoCAD

Before familiarizing with CivilCad (SoftDesk), we used the DOS app that is still called dXF2CSV. You can try it if you like torturing yourself nostalgia, 🙂 There are also several applications " no free"And I am sure that there must be some kind of free, but in this case we will see how it is done with SoftDesk8, it looks like Civilcad.

To make points visible, I changed the format with the format / point format / style point. In order for the thickness of the lines to be visible, you need to activate "LTS" using a smaller value of 1 until we see the difference.

First step: Open the project or create a new

Second step: Enter points to the database: for this there are different forms, in this case we will do it automatically: points / set points / automatically, then select each line of the polygon.
The signal that was entered is to make points / setpoint / list of available points. It must show + 6, which means that points 5 have already been introduced into the database.

Third step: export points.
To export the items that we do:

points / Import-Export Points / Export Points to File
- Choose export format, in this case PNE (point, north, east)
-We choose the file destination folder and write the name
- In the command line, we choose the export parameters (optional, in the rank ... In this case, we use everything, all)
- The file disappeared, in this case, the separated Expacios, but equal can be opened using Excel

If the points are written with large sizes, you need to change metric units, because English (AEC / SETUP Drawing / Unit AEC / SELECT Métric) come by default

On this point, the point did not have the height, this topic will see in the other post when we talk about contour lines.

Believe my perseverance, does anyone know the macro for ATOCAD, which is easier and freer?

Does anyone else do it?


Program Loads (imports) the coordinates of the points from the * .txt, * .csv format files, *. TSV in the AutoCAD version 2000-2013.

The coordinate file for imports can be generated manually, or using the GROUNDARC TSP program or another program.


Working with the program:

1. Run Point2CAD:


If the file is present in the file with column designations (see example of file number 1, the first line "N x Y H"), then you need to set the flag "Skip the first string (header) in the source file". If this is not done, then Point2CAD will display a window with an error message.


By default, AutoCAD does not match the direction of axes with geodesic, for this incident you need to set the flag "Change X and Y places (for correct import in AutoCAD)."

2. Select files for imports:


3. Convert data by clicking the "Convert" button:


The conversion process will appear in the message window;

In the source folder, documents will appear with the extension * .src;

4. To import the coordinates of the points in AutoCAD, you need to start AutoCAD and select the "Tool-\u003e Run Script" menu

Then specify the document * .src with coordinates resulting from the program


After that, press the "Open" button on the screen will appear, with coordinates from the downloaded document

    Come on? Even if we consider the same stress tensor that you will do zero? We also have Sigma11 and Sigma22, as well as 12 by the Formula of Zhuravsky, we also have. Also with deformations. In any book on the theory of elasticity, the example of the PNS is bending beam. One-dimensional one task will only with tension. And what prevented the grid to make hex8? Definance cannot be seen outwardly in the picture - this is a magnitude of several orders of magnitude less than the cross section compared to the opposist "turn" if one calculation has led one calculation does not mean that they consider the flat task of the theory of elasticity. Why not use the appropriate numerical solution? Thank you all for the answers. Once no one knows you can not continue

    Boyful theory is implemented in MCE with beam elements. The theory of elasticity - three-dimensional elements in the general case. You want to solve the task of the theory of elasticity. So if you please use the appropriate items!)
    Here is how the beam elements in SolidWorks are implemented for example:
    6 degrees of freedom in the node - 3 move, 3 turn. Voltages are considered on the conventional formula G \u003d MZ / J. Shear efforts are taken into account, but they only affect the movement in the concomprise. In general, the spontaneous sections are also considered. Even in a simple Balayaev book, there is a calculation of movements, taking into account the shear forces - the coincides with the ICE almost perfect why you speak about the flat condition I do not understand ..?! The beam is to mix the three-dimensional problem of the mechanics of a solid medium to one-dimensional even if the bend is not flat as I understand. Moreover, the analytical solution of beams and shells are approximate solutions of the theory of elasticity .. but this is already a separate topic for talking about well, in the idea, it should be all right. For long beams, the cross section is not thrown. I don't know here too. That's what I see, for example, Naz Delection is remembered by one person wanted to "see" in the calculation of SW loss of stability .. Another wants to see a deplanting .. You don't have a job, guys - you b Hollywood on fractal generator special effects sculpt)))

    It is time of awesome stories. In the engineering industry, it is nowhere to step in step, everywhere "effective managers" clamp a working class. Let me press your stress test, I need an engineer who knows how to develop automation in the field of light engineering (filling lines of food, test task at least today). Salary contractual and starts from the amount close to 100.
    Or even more indicative, a specialist in VUFORIA STUDIO (industrial AR) is needed - here from 100 (and strives to swell, if a person pulls) Location - Chelyabinsk, Yekaterinburg, Perm, Tyumen. Yes, it is not the bushes on the screen.

    ))))))) Well .... I see that the "USSR" here is only to be in the trend ...

    Although .... What did I suddenly decide that these letters for someone mean something in this forum? ... one could immediately conclude about the capacity and sanity ... After all, it is how you need to prose High-intelligence hour to give for the equivalent of cups of coffee in a cafe ...))) Yes, even from others to want the same ....)))) Not everyone is so smart that they do not see the obvious ...
    The only dream of the employee is to have its own workers.
    And here is the fitter visual from the "effective managers", which you became:
    So that's, employees.



Did you like the article? Share it