Author Topic: understanding xrecords  (Read 1769 times)

0 Members and 1 Guest are viewing this topic.

S.Langhammer

  • Guest
understanding xrecords
« on: October 30, 2013, 11:30:37 AM »
Hello there!
I have the following XRecord

Code: [Select]
  0
XRECORD
  5
3D0
102
{ACAD_REACTORS
330
3CD
102
}
330
3CD
100
AcDbXrecord
280
     1
310
3C3F786D6C2076657273696F6E3D27312E302720656E636F64696E673D275554462D38273F3E0A3C6375744275666665723E0A20203C76657273696F6E496E666F2076656E646F724B65793D274561737465726E477261706869637327206170704B65793D2770436F6E2E706C616E6E65725F4D4527206170705665727369
310
6F6E3D27362E362E31272062736B586D6C56657273696F6E3D27312E362E31272062736B56657273696F6E3D27312E31342E30272073657373696F6E49643D2738393133656234322D653832382D343830302D626634612D343765386163323663633032272F3E0A20203C6974656D733E0A202020203C62736B4172746963
310
6C65206261736B657449643D2735383933643666662D653930362D346336372D393532332D31313536373466646231356527206974656D547970653D274261736B6574416767726567617465272075706461746553746174653D275570546F44617465273E0A2020202020203C6D616E7566616374757265722069643D2752
310
45273E0A093C6E616D65206C616E673D272020273E52454953532042C3BC726F6DC3B662656C20476D62483C2F6E616D653E0A2020202020203C2F6D616E7566616374757265723E0A2020202020203C7365726965732069643D274543273E0A093C6E616D65206C616E673D272020273E52454953532045434F204E3C2F6E
310
616D653E0A2020202020203C2F7365726965733E0A2020202020203C6172744E7220747970653D2762617365273E30353430303830383C2F6172744E723E0A2020202020203C6172744E7220747970653D2766696E616C272064656661756C743D2731273E30353430303830382F30312D302F31332F303C2F6172744E723E
310
0A2020202020203C6172744E7220747970653D27766172636F6465273E30353430303830382F30312D302F31332F30403031203020313320302030203020302030203020303C2F6172744E723E0A2020202020203C6172744E7220747970653D276F666D6C766172636F6465273E4445504C2E4445504C3D30313B4B41504C
310
2E4B41504C3D303B4641534F342E4641534F3D31333B465553532E465553533D303B534145554C452E534145554C453D303B5241484D454E2E5241484D454E3D303B41554B4B2E41554B4B3D303B444C2E444C3D303B41554B452E41554B453D303B455831312E455831313D303C2F6172744E723E0A2020202020203C6465
310
736372697074696F6E20747970653D2773686F7274272064656661756C743D2730273E0A093C74657874206C616E673D276465273E4E32463A2052454953532045434F204E20342E302C205363687265696274697363682020202020203C2F746578743E0A2020202020203C2F6465736372697074696F6E3E0A2020202020
310
203C6465736372697074696F6E20747970653D276C6F6E67272064656661756C743D2731273E0A093C74657874206C616E673D276465273E4E32463A2052454953532045434F204E20342E302C205363687265696274697363682020202020200A2838303078383030783732302920205469736368706C6174746520666573
310
742020202020202020203C2F746578743E0A2020202020203C2F6465736372697074696F6E3E0A2020202020203C6465736372697074696F6E20747970653D276665617475726573272064656661756C743D2730273E0A093C74657874206C616E673D276465273E44656B6F72204465636B2D2F5469736368706C61747465
310
20202D3A20303120204C69636874677261750A4B616E7465204465636B2D2F5469736368706C6174746520202D3A205374616E6461726420287769652044656B6F72290A46617262652047657374656C6C20202D3A203133202053696C6265722052414C20393030360A426573636869636874756E67204675C39F20202D3A
310
205374616E6461726420287769652047657374656C6C666172626529202020202020202020202020202020202020202020202020202020202020202020202020202020202020200A426573636869636874756E672053C3A4756C6520202D3A205374616E6461726420287769652047657374656C6C6661726265290A426573
310
636869636874756E67205261686D656E20202D3A205374616E6461726420287769652047657374656C6C666172626529202020202020202020202020202020202020202020202020202020202020202020202020202020202020200A41757366C3BC6872756E67204B6162656C6B616E616C20202D3A206F686E6520202020
310
20202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200A4B6162656C64757263686C61C39F20202D3A206F686E652020202020202020202020202020202020202020202020202020202020202020202020202020202020
310
202020202020202020202020202020202020202020202020200A5665726B657474756E6720202D3A206F686E652020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020200A4F7074696F6E312054697363682020
310
2D3A205374616E6461726420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F746578743E0A2020202020203C2F6465736372697074696F6E3E0A2020202020203C66656174757265733E0A093C666561747572
310
65206E616D653D274155504C272076616C75653D27302720666C6167733D2730272069643D27666561747572652E30273E0A0920203C6E616D6554657874206C616E673D276465273E41757366C3BC6872756E67205469736368706C6174746520202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C61
310
6E673D276465273E536F66746B616E7465202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F76616C7565546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D274445504C27207661
310
6C75653D2730312720666C6167733D2731272069643D27666561747572652E31273E0A0920203C6E616D6554657874206C616E673D276465273E44656B6F72204465636B2D2F5469736368706C6174746520202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E303120204C6963
310
6874677261753C2F76616C7565546578743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A092020202020203C64657363724669656C64303E44656B6F72204465636B2D2F5469736368706C6174746520202D3C2F64657363724669656C64303E0A0920202020
310
20203C64657363724669656C64313E303120204C69636874677261753C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D274B41504C272076616C75653D27302720666C6167733D
310
2731272069643D27666561747572652E32273E0A0920203C6E616D6554657874206C616E673D276465273E4B616E7465204465636B2D2F5469736368706C6174746520202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E5374616E6461726420287769652044656B6F72293C2F
310
76616C7565546578743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A092020202020203C64657363724669656C64303E4B616E7465204465636B2D2F5469736368706C6174746520202D3C2F64657363724669656C64303E0A092020202020203C6465736372
310
4669656C64313E5374616E6461726420287769652044656B6F72293C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D274641534F272076616C75653D2731332720666C6167733D
310
2731272069643D27666561747572652E33273E0A0920203C6E616D6554657874206C616E673D276465273E46617262652047657374656C6C20202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E3133202053696C6265722052414C20393030363C2F76616C7565546578743E0A
310
0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A092020202020203C64657363724669656C64303E46617262652047657374656C6C20202D3C2F64657363724669656C64303E0A092020202020203C64657363724669656C64313E3133202053696C6265722052414C
310
20393030363C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D2746555353272076616C75653D27302720666C6167733D2731272069643D27666561747572652E34273E0A092020
310
3C6E616D6554657874206C616E673D276465273E426573636869636874756E67204675C39F20202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E5374616E6461726420287769652047657374656C6C666172626529202020202020202020202020202020202020202020202020
310
202020202020202020202020202020202020203C2F76616C7565546578743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A092020202020203C64657363724669656C64303E426573636869636874756E67204675C39F20202D3C2F64657363724669656C6430
310
3E0A092020202020203C64657363724669656C64313E5374616E6461726420287769652047657374656C6C666172626529202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920
310
203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D27534145554C45272076616C75653D27302720666C6167733D2731272069643D27666561747572652E35273E0A0920203C6E616D6554657874206C616E673D276465273E426573636869636874756E672053C3A4756C
310
6520202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E5374616E6461726420287769652047657374656C6C6661726265293C2F76616C7565546578743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A0920202020
310
20203C64657363724669656C64303E426573636869636874756E672053C3A4756C6520202D3C2F64657363724669656C64303E0A092020202020203C64657363724669656C64313E5374616E6461726420287769652047657374656C6C6661726265293C2F64657363724669656C64313E0A09202020203C2F64657363724C
310
696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D275241484D454E272076616C75653D27302720666C6167733D2731272069643D27666561747572652E36273E0A0920203C6E616D6554657874206C616E673D276465273E426573636869636874756E
310
67205261686D656E20202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E5374616E6461726420287769652047657374656C6C666172626529202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F76616C7565546578
310
743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A092020202020203C64657363724669656C64303E426573636869636874756E67205261686D656E20202D3C2F64657363724669656C64303E0A092020202020203C64657363724669656C64313E5374616E64
310
61726420287769652047657374656C6C666172626529202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A09
310
3C66656174757265206E616D653D2741554B4B272076616C75653D27302720666C6167733D2731272069643D27666561747572652E37273E0A0920203C6E616D6554657874206C616E673D276465273E41757366C3BC6872756E67204B6162656C6B616E616C20202D3C2F6E616D65546578743E0A0920203C76616C756554
310
657874206C616E673D276465273E6F686E652020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F76616C7565546578743E0A0920203C646573637254657874206C616E673D276465273E0A0920202020
310
3C64657363724C696E653E0A092020202020203C64657363724669656C64303E41757366C3BC6872756E67204B6162656C6B616E616C20202D3C2F64657363724669656C64303E0A092020202020203C64657363724669656C64313E6F686E6520202020202020202020202020202020202020202020202020202020202020
310
20202020202020202020202020202020202020202020202020202020202020202020203C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D27444C272076616C75653D2730272066
310
6C6167733D2731272069643D27666561747572652E38272076616C7565546578743D27666561747572652E37273E0A0920203C6E616D6554657874206C616E673D276465273E4B6162656C64757263686C61C39F20202D3C2F6E616D65546578743E0A0920203C646573637254657874206C616E673D276465273E0A092020
310
20203C64657363724C696E653E0A092020202020203C64657363724669656C64303E4B6162656C64757263686C61C39F20202D3C2F64657363724669656C64303E0A092020202020203C64657363724669656C64313E6F686E6520202020202020202020202020202020202020202020202020202020202020202020202020
310
20202020202020202020202020202020202020202020202020202020203C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D2741554B45272076616C75653D27302720666C616773
310
3D2731272069643D27666561747572652E39272076616C7565546578743D27666561747572652E37273E0A0920203C6E616D6554657874206C616E673D276465273E5665726B657474756E6720202D3C2F6E616D65546578743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C6465736372
310
4C696E653E0A092020202020203C64657363724669656C64303E5665726B657474756E6720202D3C2F64657363724669656C64303E0A092020202020203C64657363724669656C64313E6F686E6520202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
310
20202020202020202020202020202020203C2F64657363724669656C64313E0A09202020203C2F64657363724C696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D2741554B455F41272076616C75653D272720666C6167733D2730272069643D276665
310
61747572652E3130273E0A0920203C6E616D6554657874206C616E673D276465273E41554B455F413C2F6E616D65546578743E0A0920203C76616C7565546578742F3E0A093C2F666561747572653E0A093C66656174757265206E616D653D2745583131272076616C75653D27302720666C6167733D2731272069643D2766
310
6561747572652E3131273E0A0920203C6E616D6554657874206C616E673D276465273E4F7074696F6E3120546973636820202D3C2F6E616D65546578743E0A0920203C76616C756554657874206C616E673D276465273E5374616E646172642020202020202020202020202020202020202020202020202020202020202020
310
2020202020202020202020202020202020202020202020202020202020203C2F76616C7565546578743E0A0920203C646573637254657874206C616E673D276465273E0A09202020203C64657363724C696E653E0A092020202020203C64657363724669656C64303E4F7074696F6E3120546973636820202D3C2F64657363
310
724669656C64303E0A092020202020203C64657363724669656C64313E5374616E6461726420202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020203C2F64657363724669656C64313E0A09202020203C2F64657363724C
310
696E653E0A0920203C2F6465736372546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D2745583132272076616C75653D27302720666C6167733D2730272069643D27666561747572652E3132272076616C7565546578743D27666561747572652E3131273E0A0920203C6E616D6554657874
310
206C616E673D276465273E4F7074696F6E3220546973636820202D3C2F6E616D65546578743E0A093C2F666561747572653E0A093C66656174757265206E616D653D27494E5445524E272076616C75653D272720666C6167733D2730272069643D27666561747572652E3133273E0A0920203C6E616D6554657874206C616E
310
673D276465273E616C6C672E2057657274652066C3BC7220455420202D3C2F6E616D65546578743E0A0920203C76616C7565546578742F3E0A093C2F666561747572653E0A2020202020203C2F66656174757265733E0A2020202020203C6974656D507269636520747970653D277075726368617365272070643D27312720
310
63757272656E63793D27455552272076616C75653D273330322E303030303030272F3E0A2020202020203C6974656D507269636520747970653D277075726368617365272063757272656E63793D27455552272076616C75653D273330322E303030303030272F3E0A2020202020203C6974656D507269636520747970653D
310
2773616C65272070643D2731272063757272656E63793D27455552272076616C75653D273330322E303030303030272F3E0A2020202020203C6974656D507269636520747970653D2773616C65272063757272656E63793D27455552272076616C75653D273330322E303030303030272F3E0A2020202020203C7072656465
310
6656656E646F72446973636F756E7420696E63723D2731272072656C61746976653D27302E303030303030272063757272656E63793D27455552272076616C75653D27302E303030303030272F3E0A2020202020203C7064496E666F20706462547970653D276F63642720706B674E616D653D273A3A6F666D6C3A3A786F69
310
27206D616E75666163747572657249643D275245272073657269657349643D274543272070726F6749643D27407265785F6563273E0A093C6F63642F3E0A2020202020203C2F7064496E666F3E0A2020202020203C61727443616C633E0A093C76656E646F72446973636F756E74206C6162656C3D2756656E646F72204469
310
73636F756E742720696E63723D27312720696E4F726465724C6973743D27312720707265646566696E65643D2731272F3E0A093C707572636861736550726963652F3E0A093C6974656D446973636F756E74206C6162656C3D2752616261747420312720696E63723D27312720696E4F726465724C6973743D2731272F3E0A
310
093C6974656D446973636F756E74206C6162656C3D2752616261747420322720696E63723D27312720696E4F726465724C6973743D2731272F3E0A2020202020203C2F61727443616C633E0A2020202020203C6164645374617465436F646520747970653D274F694F6462506C456C656D656E74273E5B5B404D6574612C22
310
4745435F4272656974653D27383030272C4745435F54696566653D27383030272C4745435F47657374656C6C686F6568653D4045435F48462C4745435F47657374656C6C7479703D4045435F47342C4745435F506C617474656E7479703D4045435F5030225D5D3C2F6164645374617465436F64653E0A2020202020203C61
310
64645374617465436F646520747970653D274368696C6450726F70732720616767723D2731273E5B5B53796D626F6C2822505322292C2053796D626F6C28224745435F42726569746522292C20315D2C205B53796D626F6C2822504C22292C2053796D626F6C28224745435F42726569746522292C2022383030225D2C205B
310
53796D626F6C2822505322292C2053796D626F6C28224745435F546965666522292C20315D2C205B53796D626F6C2822504C22292C2053796D626F6C28224745435F546965666522292C2022383030225D2C205B53796D626F6C2822505322292C2053796D626F6C28224745435F47657374656C6C686F65686522292C2031
310
5D2C205B53796D626F6C2822504C22292C2053796D626F6C28224745435F47657374656C6C686F65686522292C2053796D626F6C282245435F484622295D2C205B53796D626F6C2822505322292C2053796D626F6C28224745435F47657374656C6C74797022292C20315D2C205B53796D626F6C2822504C22292C2053796D
310
626F6C28224745435F47657374656C6C74797022292C2053796D626F6C282245435F473422295D2C205B53796D626F6C2822505322292C2053796D626F6C28224745435F506C617474656E74797022292C20315D2C205B53796D626F6C2822504C22292C2053796D626F6C28224745435F506C617474656E74797022292C20
310
53796D626F6C282245435F503022295D2C205B53796D626F6C28224D5422292C2053796D626F6C282252744178697322292C20325D2C205B53796D626F6C28224D5422292C2053796D626F6C282254724178697322292C20355D5D3C2F6164645374617465436F64653E0A2020202020203C636174616C6F67496E666F2069
310
643D27407265785F6563272076657273696F6E3D27312E302E3027206172744E723D2730353430303830382720766172436F64653D27272F3E0A202020203C2F62736B41727469636C653E0A20203C2F6974656D733E0A3C2F6375744275666665723E00


Is there any way of determing, how it's data should be read? I have the complete dxf file to this but I'm not sure if I can hand it out.

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: understanding xrecords
« Reply #1 on: October 30, 2013, 01:43:12 PM »
I find XRecords are best viewed through the VLISP IDE, using the watch and/or object browser.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: understanding xrecords
« Reply #2 on: October 31, 2013, 02:24:24 PM »
I've reached the age where the happy hour is a nap. ()
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

S.Langhammer

  • Guest
Re: understanding xrecords
« Reply #3 on: November 01, 2013, 04:58:16 AM »
I keep forgetting to mention, that I'm using BricsCAD and don't have the possibility to use AutoCAD. I have no such thing as a VLISP IDE. That had put me through a lot of trouble before.

As I understood it, the DXF group code 310 can hold any kind of binary data. But is there a way of determing what kind? Can I find any kind of dictionary object, that could tell me, what kind of information that is?