Flipped bytes writing handle in extended data

Aperta
#640 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

Start by tracing how ACadSharp writes a MultiLeader's extended data, especially the AcDbBlockRepETag record and its 1005 handle value. Compare the written DXF with the original example in the issue; done means the handle is written in the expected byte order and AutoCAD can read the resulting data.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

SPIKE

Analysing data of a MultiLeader

  • Created in AutoCAD, DXF written
  • Read and written by ACadSharp, read by AutoCAD, DXF written

In the original DXF The extended data of the multiLeader contain the following record:
1001 S AcDbBlockRepETag
1070 BS 1
1071 BL 298
1005 S 2F4

1005 2F4 is the Handle of the MultiLeaderItself.

In the data written by ACadSharp these data contain:
1001 S AcDbBlockRepETag
1070 BS 1
1071 BL 298 12A
1005 S F402000000000000

byte order reversed.

This, however, it is not changed back in the repaired dock. So this is not relevant either

Originally posted by @mme1950 in #632

Lingua principale
C#
Stelle
873
Fork
223
Merge medio
1g 15h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DomCR/ACadSharp

Tutte le issue di DomCR/ACadSharp

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.