Entities (File Format) Changed in Version 2021.0

www.CAD6.com

An entity consists of a header, determining the entity's type and containing some entity-specific data, and a sequence of data blocks. Each data block itself consists of a header and a variable data section.

 

The following entities may exist in drawing, library and collection files:

 

Entity "Object"

This entity represents the smallest display element of drawings. An object may be a line, a circle, a text etc. It consists of a header, geometrical data and some object-specific data. For basic structure of the entity type "Object" see MKI_ENTITY_OBJECT.

 

Standard Objects

Standard objects are "simple" objects that can be assembled of lines, circle parts and ellipse parts.

Object 0 "Line"
Object 1 "Hatching"
Object 5 "Circle"
Object 6 "Circular Arc"
Object 7 "Circular Sector"
Object 8 "Circular Segment"
Object 15 "Ellipse"
Object 16 "Elliptical Arc"
Object 17 "Elliptical Sector"
Object 18 "Elliptical Segment"

 

Extended Objects

Extended objects are more complex than standard objects. Such object cannot directly be handled by trimming and other modifications. Instead, they will have to be resolved in polylines before. This requires additional processing time and leads to reduced precision.

Object 10 "Zigzag Line"
Object 11 "Spline"
Object 12 "Curve"
Object 13 "Surface"
Object 39 "Hyperlink"
Object 40 "Comment"
Object 41 "Marking"
Object 43 "Bitmap Reference"

 

Dimension Objects

Dimension objects are usually used to add dimensions to a drawing. In addition, they can be used to create simple arrows. Dimensions are very complex and should be handled carefully.

 

The following image shows the different elements of a distance dimension and their names. These names are also equally valid for other dimension forms:

 

 

Dimensions are always referring to a coordinate system. This coordinate system contains all required information about the current entities, the scale and the desired number display modes.

Object 20 "Dimension Line Straight"
Object 21 "Dimension Line Curved"
Object 25 "Dimension Distance"
Object 26 "Dimension Radius"
Object 27 "Dimension Diameter"
Object 28 "Dimension Angle"
Object 29 "Dimension Arc Length"
Object 30 "Dimension Coordinate"
Object 31 "Dimension Area"
Object 32 "Dimension Perimeter"
Object 33 "Dimension Text"

 

The examples shown in this section are mainly not according to DIN rules. Instead, they shall display all possible forms of dimension available in compact form.

 

Text Objects

Text objects are used for the lettering of the drawing and are basically implemented as a multi-instance of characters.

Object 35 "Standard Text"
Object 36 "Frame Text"
Object 37 "Reference Text"

 

Construction Aid Objects

Construction Aid objects are used to create an auxiliary Construction Aid for easy and fast construction. They are not relevant for printer or plotter output (except if explicitly activated by the user) and will only be displayed on the screen. Construction Aid objects can usually be ignored during file conversion.

Object 45 "Construction Aid Endless Line"
Object 46 "Construction Aid Circle"
Object 47 "Construction Aid Ellipse"
Object 53 "Construction Aid Line"
Object 54 "Construction Aid Beam" New in Version 2019.1
Object 55 "Construction Aid Curve"
Object 56 "Construction Aid Surface"
Object 57 "Construction Aid Circle Arc"
Object 58 "Construction Aid Circle Sector"
Object 59 "Construction Aid Circle Segment"
Object 60 "Construction Aid Ellipse Arc"
Object 61 "Construction Aid Ellipse Sector"
Object 62 "Construction Aid Ellipse Segment"

 

Supplementary Objects

Supplementary objects usually exist only in special location such as display or data lists of extended entities.

Object 48 "Guide Curve"
Object 49 "Container"
Object 50 "Callback"

 

 

Entity "Instance"

This entity represents an instance (internal or external reference) of a block. It is used to reference and display a block definition.  For basic structure of the entity type "Instance" see MKI_ENTITY_INSTANCE.

 

 

Entity "Block"

This entity represents either an internal (inside a drawing file) or an external (inside a library file) block definition. Both definitions are handled similar, they both are a named collection of multiple entities, being referenced by instances (see above). For basic structure of the entity type "Block" see MKI_ENTITY_BLOCK.

 

 

Entity "Clipping"

A "clipping" is a combination of a surface-formed outline and a list of objects / entities that are clipping towards this surface. For basic structure of the entity type "Clipping" see MKI_ENTITY_CLIP.

 

 

Entity "Mapping"

A "mapping" is a projection of a drawing section into another location of the same drawing. For basic structure of the entity type "Mapping" see MKI_ENTITY_MAPPING.

 

 

Entity "Drawing Reference"

A "drawing reference" is a reference to a drawing file. It is used to display a complete drawing within another drawing. For basic structure of the entity type "Drawing Reference" see MKI_ENTITY_REF.

 

 

Entity "Group" Changed in Version 2017.0

A group is an assembly of multiple entities that are usually handled as one. For basic structure of the entity type "Group" see MKI_ENTITY_GROUP.

 

In older versions of the file format prior to version 2017.0, groups were a special form of the entity "Block". The BlockName of such group blocks started with "#G" and could only exist as internal blocks.

 

 

Entity "Position Number" Changed in Version 2017.0

A "position number" is a special form of the entity "Group". It contains the referenced entities, a reference text displaying the position number, and an attribute with the name "#AutoPosNum".

 

In older versions of the file format prior to version 2017.0, position numbers were a special form of the entity "Block". The BlockName of such group blocks started with "#P" and could only exist as internal blocks.

 

 

Entity "Hatching" New in Version 2018.2

A "hatching" is a set of curves dynamically created based on a surface and hatching type definition. For basic structure of the entity type "Hatching" see MKI_ENTITY_HATCH.

 

 

Entity "Extended"

This entity represents an extended entity, i.e. an entity that was created by an plug-in. Such an entity can only be displayed and modified if an plug-in is present that knows how to handle such an entity. For basic structure of the entity type "Extended" see MKI_ENTITY_EXT.

 

 

Entity "End of List"

This entity marks the end of an entity sequence. Such an entity terminates each section containing entities and each block definition. For basic structure of the entity type "End of List" see MKI_ENTITY_BASE.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH