Collection Files (MKD File Format) Changed in Version 2024.0

www.CAD6.com

A file containing a collection starts with the section =COLLECTION=, followed by a section containing collection items.

 

Each section starts and ends with a unique keyword. A keyword is a word delimited by the character = (Ansi 61). The word itself may be up to 31 characters long and may neither contain the character = (Ansi 61) nor a line feed. Each keyword is followed immediately by a semicolon. All sections are terminated by the keyword =END=.

 

Not every of the sections listed below has to exist in a collection file. If it does exist, it should follow the order of the sections below (although this order is not definite). Section marked with a * have to exist in any collection file at the given position!

 

The file header consists of a special character sequence, which has to have exactly the form described below. The character sequence has to start at the first byte of the file, as this character sequence is checked by directly reading the first 22 bytes of the file and comparing them with the expected identification! As a result, this identification may not be enclosed in quotes, and it must be handled case sensitive!

 

If the file contains UTF-8 characters, this header should be preceded by the standard 3 byte UTF-8 BOM of 0xef 0xbb 0xbf.

 

 

Collection Sections

Section =COLLECTION= (Collection Information)*

See MKI_FILE_HEADER

 

Section =ITEM= (Collection Items)

See Section =ITEM=

 

Section =EXIT= (End of File)*

See Section =EXIT=

 

The smallest valid MKD collection file has the following form:

 

 

MKD Syntax

Malz++Kassner MKD 6240;

=COLLECTION=;

CollectionTitle;

=END=;

=EXIT=;

;

=END=;

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH