28.11.2014 Views

AutoCAD® 2002 - Autodesk

AutoCAD® 2002 - Autodesk

AutoCAD® 2002 - Autodesk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Slide Files<br />

The type of data following a group is determined from the group code by the<br />

same rules used in decoding ASCII DXF files. Translation of angles to degrees<br />

and dates to fractional Julian date representation is performed for binary<br />

files, as well as for ASCII DXF files. The comment group, 999, is not used in<br />

binary DXF files.<br />

Extended data group codes are represented in binary DXF as a single byte<br />

with the value 255, followed by a 2-byte integer value containing the actual<br />

group code, followed by the actual value.<br />

Extended data long (group code 1071) values occupy 4 bytes of data.<br />

Extended data binary chunks (group code 1004) are represented as a singlebyte,<br />

unsigned integer length, followed by the specified number of bytes of<br />

chunk data. For example, to transfer an extended data long group, the following<br />

values would appear, occupying 1, 2, and 4 bytes respectively.<br />

255 Escape group code<br />

1071 True group code<br />

999999 Value for the 1071 group code<br />

SAVEAS writes binary DXF files with the same file type (.dxf) as for ASCII DXF<br />

files. The OPEN and INSERT commands automatically recognizes a binary file<br />

by means of its sentinel string. You need not identify it as a binary file.<br />

If the OPEN and INSERT commands encounter an error in a binary DXF file,<br />

AutoCAD reports the byte address within the file where the error was<br />

detected.<br />

NOTE This information is for experienced programmers, and is subject to<br />

change without notice.<br />

AutoCAD slide files are screen images written by the MSLIDE command and<br />

read by the VSLIDE command. This section describes the format of slide files<br />

for the benefit of developers who wish to incorporate support for slides into<br />

their programs.<br />

A slide file consists of a header portion (31 bytes) and one or more data<br />

records of variable length. All coordinates and sizes written to the slide file<br />

reflect the drawing area of the display device from which the slide was created<br />

with point (0,0) located at the lower-left corner of the drawing area. For<br />

Slide Files | 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!