Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Owner of XRecord?

Status
Not open for further replies.

rocheey

Programmer
Dec 26, 2007
8
US
I was scanning thru a DXF, and noticed the custom info embedded inside. I wrote some code to parse each entity in the drawing, and got some XData off of it, but still not the specific info I had seen/wanted in the DXF. It is in an XRecord, and im not sure which one.

How do I find which dictionary the XRecord belongs to?

below is a snippet from one of the DXF files - maybe it is of some use: (notice the path name ...)
'----------- snip-------------
0
XRECORD
5
2507
102
{ACAD_REACTORS
330
2506
102
}
330
2506
100
AcDbXrecord
280
1
0

1
AFFA258831024169922
1
C:\Jobs\test_project
'------------ snip ---------------

any takers ?
 
Hi rocheey,

You may need to import the DXF and then run the GetXRecordData VBA sample (in the VBA help documentation for AutoCAD), I don't think the DXF codes expose which dictionary owns the record.

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top