- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Codice DXF per spessore linea da inserire nell'entità Layer
Ho file DXF che devo utilizzare come base, in una applicazione VB.net. Ma non riesco a capire qual è il codice DXF che individua, nell'entità LAYER, lo spessore delle linee. Il codice che ho scritto è il seguente:
LAYER
2
PUNTI
70
0
62
1
6
SOLID
0
LAYER
2
NOMI
70
0
62
3
6
SOLID
0Col seguente codice creo due layer "PUNTI" e "NOMI", ma vorrei impostare lo spessore delle linee, quale codice devo usare?
Grazie
Giorgio
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
If you really mean thickness as AutoCAD means it, the code is 39. See the DXF Reference for a Line. But in AutoCAD, thickness is "up off the page" in the Z direction. If you really mean lineweight, see 370 in the Related Reference to Common Group Codes. If in the case of a Polyline, you really mean width, that's also different, and controlled separately for each end of each segment.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
you are talking about Layer entity, so you mean lineweights (dxf 370).
In this case, think about that lineweight are supported since dwg/dxf format R2000 and newer.
Sebastian
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
ho provato il codice 370, ma segnala
Il gruppo 370 è sconosciuto per la tabella alla riga 218.
Input DXF non valido o incompleto - disegno eliminato.
allego il file DXF base
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
I don't work in DXF files, but I notice one thing about that line in yours. It is the first line with leading spaces before the actual information, in fact it's the first instance of any spaces in the file. Could it be that DXF files do not like leading spaces?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
you are talking about Layer entity, so you mean lineweights (dxf 370).
In this case, think about that lineweight are supported since dwg/dxf format R2000 and newer
Sebastian
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@GSpro schrieb:
Apro il file con Autocad 2023, quindi non penso che il problema sia quello
Please read the error message again (try to open your .dxf and READ the message [F2] while Acad stopps the open process).
UNKNOWN means: It's unknown - not known in a file of this format.
Your file is not a propper 2000 (or higher) file format,
the program doesn't expect a dxf code 370.
Sebastian