Arkitera Forum  
Geri Git   Arkitera Forum > Mimarlık ve Bilişim > Yazılımlar > AutoCAD

Yanıt
 
Konu Araçları Modları Görüntüle
Eski 04-01-2007, 12:08   #1
Forum Üyesi
 
alves'in Avatar'ı
 
Kayıt Tarihi: 18-05-2006
Mesaj: 63
Kurtarma Dosyası İçin yardım

değerli forum üyeleri

elektrik kesintisi yüzünden autocad dosyam otomatik

Error in drawing header on line 1.
C:\Documents and Settings\........\.........\Yeni Klasör\vaziyet.sv$.dxf is not valid DXF file
Invalid or incomplete DXF input -- drawing discarded.

priviem kısımından da projemi görebiliyorum

dosyayı açmak için tıkladığımda bana şu mesaj çıkıyor Press ENTER to continue:

bir şey yazmamı istiyor ama ben ne demek istediğini bilmiyorum acaba bu dosyamı nasıl açarım..
alves offline   Alıntı Yaparak Yanıtla
Eski 04-01-2007, 12:59   #2
Forum Üyesi
 
gün'in Avatar'ı
 
Kayıt Tarihi: 06-03-2006
Mesaj: 1.531
Bir şey yazmanı istemiyor enter'a basmanı istiyor, mesaj bitene kadar entıra bas.
gün offline   Alıntı Yaparak Yanıtla
Eski 04-01-2007, 13:00   #3
Arkitera Üyesi
 
pingvin'in Avatar'ı
 
Kayıt Tarihi: 03-09-2005
Mesaj: 483
Dxf uzantısını dwg yapmayı dene istersen bir de..
__________________
esragunes
pingvin offline   Alıntı Yaparak Yanıtla
Eski 04-01-2007, 13:05   #4
Arkitera Üyesi
 
orhunkeskinbicak'in Avatar'ı
 
Kayıt Tarihi: 27-12-2005
Mesaj: 499
Bozuk DXF dosyası açılamaz

DXF uzantılı dosyaların herhangi bir yazı editöründe başlangıç görüntüsü aşağıdaki gibidir.

0
SECTION
2
HEADER
9
$ACADVER
1
AC1018
9
$ACADMAINTVER
70
76
9
$DWGCODEPAGE
3
ANSI_1254
9
$LASTSAVEDBY
1
Autodesk
9

DWG uzantılılar ise versiyon numarasına göre

AC1018 böyle birşey ile başlıyor

uzantısı ne olursa olsun bir dosyanın gerçekte DWG mi yoksa DXF mi olduğu bu şekilde anlaşılır dwg veya dxf dosyasının içindeki kodların bir bölümünü bir text editöründe silerseniz o dosya açılamaz yada hata verir elektrik kesintiside böyle birşey ACAD tarafından RAM e kaydedilip islenen dosya son harddisk kayıtından önce veya kayıt sırasındaki elektrik kesintisi doğal olarak veri kaybına neden oluyor çözüm kesintisiz güç kaynağı kullanmak veya ctrl+s yuşuna parmağını alıştırmak (autosave den hoşlanmıyorsan) yinede kesintiden önceki .dwg veya bir önceki kaydettiğin .bak uzantılı dosya işini görmüyor herhalde


büyük ihtimal ile kurtaramıyacaz ama şunları deneyebilirisin

eğer dosyanı text editörü ile açıp ilk karakterlerinin AC olduğunu gördüysen uzantısı dwg olmalı

dosya uzantısını dwg yapıp açmayı deneye bilirsin

çek menüler/file/recover ile açmayı deneyebilirsin

open ile "partial open" deneyebilirsin

dxf dosyaları her hangi bir text editörü ile açılabilir içini açıp sorunun nereden kaynaklandığına bakabilirsin

dwg uzantılı autosave dosyası yokmu?
bak uzantılı bir önceki kayıt dosyası yok mu?

ön izlemenin görünüyor olması dosyanın açılabilir olduğunu göstermez ön izleme resmi obje entitilerinden oluşturulmuyor.

bu şekilde açılmaz ise hiçbir şekilde açılmaz
__________________
Ars Longa, Vita Brevis

En son orhunkeskinbicak tarafından düzenlendi : 04-01-2007 13:28.
orhunkeskinbicak offline   Alıntı Yaparak Yanıtla
Eski 08-01-2007, 02:57   #5
Arkitera Üyesi
 
HABIPCELL'in Avatar'ı
 
Kayıt Tarihi: 20-04-2003
Mesaj: 112
slm "orhunkeskinbacak"
"dxf dosyaları her hangi bir text editörü ile açılabilir içini açıp sorunun nereden kaynaklandığına bakabilirsin"
bu konuyu birazdaha açabilirsen sevinirim. Bakarsın ilerde bizimde başımıza gelebilir. teşekkürler
__________________
TATLI SUYUN BAŞI KALABALIK OLUR (Hz. MEVLANA)
HABIPCELL offline   Alıntı Yaparak Yanıtla
Eski 08-01-2007, 15:46   #6
Arkitera Üyesi
 
orhunkeskinbicak'in Avatar'ı
 
Kayıt Tarihi: 27-12-2005
Mesaj: 499
AutoCAD 2006 yı açtım
acadiso.dwt ile bir yeni dosya oluşturdum
0,0 dan 1,1 e bir line çizdim
0,0 dan 1,1 e bir circle çizdim
zoom extend yaptım
save as 2004 formatında dxf olarak kaydettim kapattım
notpad ile kaydettiğim dxf i açtım


0
SECTION
*
*
*
*
0
ENDSEC

satırları ile ayrılmış bölümlerden oluşan bir dosya

ilk bölüme bakacak olursanız ACAD sistem değişkenlerinden oluştğunu göreceksiniz

örneğin

$DIMSCALE
40
1.0
9

buradaki üç rakamdan ortada olanı o sistem değişkeninin değerini gösteriyo ve bu satırdan değiştirilebilir

ancak bu dört satır formatı bozulursa örneğin sondaki 9 silinirse dosya hata veriyor
komple 4 satır silinirse hata vermeden açılıyor

bu şekilde ilk SECTION dan satırlar sininerek minimum aşağıdaki hale getirilebiliyor (dosya yinede açıyor)

0
SECTION
2
HEADER
9
$ACADVER
1
AC1018
9
$ACADMAINTVER
70
76
9
$DWGCODEPAGE
3
ANSI_1254
9
$HANDSEED
5
EA
9
$PROJECTNAME
1
0
ENDSEC

ikinci bölüm yani

0
SECTION
2
CLASSES
0
CLASS
1
ACDBDICTIONARYWDFLT
2
AcDbDictionaryWithDefault
3
ObjectDBX Classes
90
0
91
1
280
0
281
0
0
CLASS
1
DICTIONARYVAR
2
AcDbDictionaryVar
3
ObjectDBX Classes
90
0
91
3
280
0
281
0
0
CLASS
1
TABLESTYLE
2
AcDbTableStyle
3
ObjectDBX Classes
90
2047
91
1
280
0
281
0
0
ENDSEC

bu kısım tamamen siline biliyor dosya yinede hata vermeden açılıyor

3. ve 4. SECTION kesinlikle silinmiyor dosyahata veriyor

5. bölüm ENTITIES ler

0
SECTION
2
ENTITIES
0
LINE
5
E5
330
1F
100
AcDbEntity
8
0
100
AcDbLine
10
0.0
20
0.0
30
0.0
11
1.0
21
1.0
31
0.0

0
CIRCLE
5
E6
330
1F
100
AcDbEntity
8
0
100
AcDbCircle
10
0.0
20
0.0
30
0.0
40
1.414213562373095

0
ENDSEC


dosyayı oluştururken bir LINE bir CIRCLE çizdiğimi belirtmişdim onlar

sizin dosyanızda kaç obje var ise hepsi bu bölümde tanımlanır üzerinden değerleri değiştirilebilir vs. örneğin 10,10 dan başlayan 25,25 e giden LINE söyle (yazmalı
yukarıdaki satırlarıda inceliyerekten ve farklı farklı dxf ler oluşturup ENTITIES bölümünü inceleyerek neyin ne anlama geldiğini bulabilirizki bizim line aşağıdaki kod ile tanımlanıyor

0
LINE
5
E5
330
1F
100
AcDbEntity
8
0
100
AcDbLine
10
10.0
20
10.0
30
0.0
11
25.0
21
25.0
31
0.0

AutoCAD de bir objenin ENTITI sine bakmak için komut satırına şunları yazın
(entget(car(entsel))) daha sonra objeyi seçin çıkan listeyi ve sizin dxf dormatındaki dosyanızdaki entiti dökümünü karşılaştırın bu şekilde dxf formatını daha iyi kavraya bilirsiniz.

örneğin
10 dan sonra gelen satır ilk noktanın X değeri
20 den sonra gelen satır ilk noktanın Y değeri
30 dan sonra gelen satır ilk noktanın Z değeri
11 den sonra gelen satır ikinci noktanın X değeri
21den sonra gelen satır ikinci noktanın Y değeri
31 den sonra gelen satır ikinci noktanın Z değeri ni veriyor
zaten bir çizgi iki nokta ile tanımlı
daireye gelince daire ise merkez nokta ve cap ile tanımlı incelersek
10 dan sonra gelen satır merkez noktanın X değeri
20 den sonra gelen satır merkez noktanın Y değeri
30 dan sonra gelen satır merkez noktanın Z değeri
40 ise yarıçap değerini veriyor

her obje için bu tarz tanımlamalar mevcut



peki ne işiniza yarar orasını bilmem.

Peki Dosya kurtarma işine gelince ne olacak
bu ENTITIES bölümü sağlamsa yada sağlam olan kısmını kopyalayabiliyorsak bence birşeyleri kurtarabiliriz

DXF grup Kodları

-5
APP: persistent reactor chain

-4
APP: conditional operator (used only with ssget)

-3
APP: extended data (XDATA) sentinel (fixed)

-2
APP: entity name reference (fixed)

-1
APP: entity name. The name changes each time a drawing is opened. It is never saved (fixed)

0
Text string indicating the entity type (fixed)

1
Primary text value for an entity

2
Name (attribute tag, block name, and so on)

3-4
Other text or name values

5
Entity handle; text string of up to 16 hexadecimal digits (fixed)

6
Linetype name (fixed)

7
Text style name (fixed)

8
Layer name (fixed)

9
DXF: variable name identifier (used only in HEADER section of the DXF file)

10
Primary point; this is the start point of a line or text entity, center of a circle, and so on
DXF: X value of the primary point (followed by Y and Z value codes 20 and 30)
APP: 3D point (list of three reals)

11-18
Other points
DXF: X value of other points (followed by Y value codes 21-28 and Z value codes 31-38)
APP: 3D point (list of three reals)

20, 30
DXF: Y and Z values of the primary point

21-28, 31-37
DXF: Y and Z values of other points

38
DXF: entity's elevation if nonzero

39
Entity's thickness if nonzero (fixed)

40-48
Floating-point values (text height, scale factors, and so on)

48
Linetype scale; floating-point scalar value; default value is defined for all entity types

49
Repeated floating-point value. Multiple 49 groups may appear in one entity for variable-length tables (such as the dash lengths in the LTYPE table). A 7x group always appears before the first 49 group to specify the table length

50-58
Angles (output in degrees to DXF files and radians through AutoLISP and ObjectARX applications)

60
Entity visibility; integer value; absence or 0 indicates visibility; 1 indicates invisibility

62
Color number (fixed)

66
"Entities follow" flag (fixed)

67
Space-that is, model or paper space (fixed)

68
APP: identifies whether viewport is on but fully off screen; is not active or is off

69
APP: viewport identification number

70-78
Integer values, such as repeat counts, flag bits, or modes

90-99
32-bit integer values

100
Subclass data marker (with derived class name as a string). Required for all objects and entity classes that are derived from another concrete class. The subclass data marker segregates data defined by different classes in the inheritance chain for the same object.
This is in addition to the requirement for DXF names for each distinct concrete class derived from ObjectARX (see "Subclass Markers")

102
Control string, followed by "{<arbitrary name>" or "}". Similar to the xdata 1002 group code, except that when the string begins with "{", it can be followed by an arbitrary string whose interpretation is up to the application. The only other control string allowed is "}" as a group terminator. AutoCAD does not interpret these strings except during drawing audit operations. They are for application use

105
Object handle for DIMVAR symbol table entry

210
Extrusion direction (fixed)
DXF: X value of extrusion direction
APP: 3D extrusion direction vector

220, 230
DXF: Y and Z values of the extrusion direction

280-289
8-bit integer values

290-299
Boolean flag value

300-309
Arbitrary text strings

310-319
Arbitrary binary chunks with same representation and limits as 1004 group codes: hexadecimal strings of up to 254 characters represent data chunks of up to 127 bytes

320-329
Arbitrary object handles; handle values that are taken "as is." They are not translated during INSERT and XREF operations

330-339
Soft-pointer handle; arbitrary soft pointers to other objects within same DXF file or drawing. Translated during INSERT and XREF operations

340-349
Hard-pointer handle; arbitrary hard pointers to other objects within same DXF file or drawing. Translated during INSERT and XREF operations

350-359
Soft-owner handle; arbitrary soft ownership links to other objects within same DXF file or drawing. Translated during INSERT and XREF operations

360-369
Hard-owner handle; arbitrary hard ownership links to other objects within same DXF file or drawing. Translated during INSERT and XREF operations

370-379
Lineweight enum value (AcDb::LineWeight). Stored and moved around as a short. Custom non-entity objects may use the full range, but entity classes only use 371-379 DXF group codes in their representation, because AutoCAD and AutoLISP both always assume a 370 group code is the entity's lineweight. This allows 370 to behave like other "common" entity fields.

380-389
PlotStyleName type enum (AcDb::PlotStyleNameType). Stored and moved around as a short. Custom non-entity objects may use the full range, but entity classes only use 381-389 DXF group codes in their representation, for the same reason as the Lineweight range above.

390-399
String representing handle value of the PlotStyleName object, basically a hard pointer, but has a different range to make backward compatibility easier to deal with. Stored and moved around as an Object ID (a handle in DXF files) and a special type in AutoLISP. Custom non-entity objects may use the full range, but entity classes only use 391-399 DXF group codes in their representation, for the same reason as the Lineweight range above.

400-409
16-bit Integers

410-419
String

999
DXF: The 999 group code indicates that the line following it is a comment string. SAVEAS does not include such groups in a DXF output file, but OPEN honors them and ignores the comments. You can use the 999 group to include comments in a DXF file that you've edited

1000
ASCII string (up to 255 bytes long) in extended data

1001
Registered application name (ASCII string up to 31 bytes long) for extended data

1002
Extended data control string ("{"or "}")

1003
Extended data layer name

1004
Chunk of bytes (up to 127 bytes long) in extended data

1005
Entity handle in extended data; text string of up to 16 hexadecimal digits

1010
A point in extended data
DXF: X value (followed by 1020 and 1030 groups)
APP: 3D point

1020, 1030
DXF: Y and Z values of a point

1011
A 3D world space position in extended data
DXF: X value (followed by 1021 and 1031 groups)
APP: 3D point

1021, 1031
DXF: Y and Z values of a world space position

1012
A 3D world space displacement in extended data
DXF: X value (followed by 1022 and 1032 groups)
APP: 3D vector

1022, 1032
DXF: Y and Z values of a world space displacement

1013
A 3D world space direction in extended data.
DXF: X value (followed by 1022 and 1032 groups)
APP: 3D vector

1023, 1033
DXF: Y and Z values of a world space direction

1040
Extended data floating-point value

1041
Extended data distance value

1042
Extended data scale factor

1070
Extended data 16-bit signed integer

1071
Extended data 32-bit signed long

taliasoft

şöyle birde link vereyim.

emin olmamal ile birlikte 6. section plot stili, multiline, layer, vs ayarların kaydedildiği bölüm son olarak 6. section dan sonra dosya şu satırlar ile son bulmak zorunda

0
EOF
__________________
Ars Longa, Vita Brevis

En son orhunkeskinbicak tarafından düzenlendi : 09-01-2007 09:36.
orhunkeskinbicak offline   Alıntı Yaparak Yanıtla
Yanıt

Yerimi olarak kaydedin


Şu an bu konuyu izleyen aktif kullanıcılar: 1 (0 üye ve 1 misafir)
 
Konu Araçları
Modları Görüntüle

Mesaj Yazma Hakları
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
[IMG] kodu Açık
HTML kodu Kapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Kapalı


Tüm saatler GMT +3. şu anda saat 03:40.


Powered by vBulletin® |Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177