Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import data from a DXF file
Message
De
03/01/1999 20:45:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Import data from a DXF file
Divers
Thread ID:
00172302
Message ID:
00172302
Vues:
74
I am importing data from a dxf (drawing exchange format) file into a table. What is the best way to search for the lines I need then put them into a table. I must first find the "ENTITIES" section then look for either a "LINE", "CIRCLE", or an "ARC" entitie. Then I must read each line and evaluate what to do with the next line based on what the value is. For example the following is the description of a line that I would put in a table by extracting the needed data. The 5 means handle the 8 means layer name etc.

LINE
5
35
100
AcDbEntity
8
0
100
AcDbLine
10
0.0
20
0.0
30
0.0
11
0.0
21
10.0
31
0.0
0
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform