Jump to content
Sign in to follow this  
Galtar53

importer Fichier DAT sur autocad

Recommended Posts

Galtar53

Bonjour, 

j'ai besoin d'une commande pour importer des fichiers (*.txt) ou (*.dat) contient plusieurs parcelles avec leurs bornes on dessinant un polygone pour chaque parcelle.

voici la structure du fichier (DAT) ou (TXT) et le résultat après l'importation de ce fichier  ci dessous : 

6744
4
B50000 209325.69 235722.12
B50001 209338.88 235715.87
B22018 209314.80 235681.84
B50006 209303.72 235689.29
6745
5
B25909 209311.99 235727.91
B50000 209325.69 235722.12
B50006 209303.72 235689.29
B25906 209303.25 235689.93
B25905 209292.47 235696.64
6749
4
B29110 210223.14 234567.28
B29112 210242.34 234564.89
B29116 210235.67 234519.58
B29103 210215.81 234526.02
6750
5
B29112 210242.34 234564.89
B29111 210247.83 234564.19
B29113 210258.25 234561.95
B29117 210245.75 234516.10
B29116 210235.67 234519.58
 

 

image.thumb.png.763ebbdcd645e9f3d37dad1e6b92be8b.png

 

 

cordialement

Fichier1.TXT SZ4_DR15_Croquis.DXF

Share this post


Link to post
Share on other sites
PeterPan9720
1 hour ago, Galtar53 said:

Bonjour, 

j'ai besoin d'une commande pour importer des fichiers (*.txt) ou (*.dat) contient plusieurs parcelles avec leurs bornes on dessinant un polygone pour chaque parcelle.

voici la structure du fichier (DAT) ou (TXT) et le résultat après l'importation de ce fichier  ci dessous : 

6744
4
B50000 209325.69 235722.12
B50001 209338.88 235715.87
B22018 209314.80 235681.84
B50006 209303.72 235689.29
6745
5
B25909 209311.99 235727.91
B50000 209325.69 235722.12
B50006 209303.72 235689.29
B25906 209303.25 235689.93
B25905 209292.47 235696.64
6749
4
B29110 210223.14 234567.28
B29112 210242.34 234564.89
B29116 210235.67 234519.58
B29103 210215.81 234526.02
6750
5
B29112 210242.34 234564.89
B29111 210247.83 234564.19
B29113 210258.25 234561.95
B29117 210245.75 234516.10
B29116 210235.67 234519.58
 

 

image.thumb.png.763ebbdcd645e9f3d37dad1e6b92be8b.png

 

 

cordialement

Hi, could explain more the file structure ? What are the numbers indicated representing ? coordinates ? but the first number in the row (example B29116) seems not to be a coordinates.

Also into DXF seems not to be present the same structure.

If do you want to import a polyline coordinates it's more easy by VBA, but you should have only coordinates no more letters o number.

Let us know

1 hour ago, Galtar53 said:

 

Share this post


Link to post
Share on other sites
BIGAL

Administrator this is double posted.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...