|
Extended Object 149 "Data Matrix (ECC200)" (Entity Type "Extended Object") New in Version 2026.1 |
www.CAD6.com |
|
The extended object "Data Matrix (ECC200)" is defined by CAD6studio and CAD6industrie.
Such a Data Matrix code is used for GS1 and other purposes. Some are indicated by a starting keyword such as "https:", "mailto:", or "tel:" in the encoded text.
The default size is 1 millimeter per unit. The actual size and position is defined by the extended object's m_cDisplayMatrix.
Creation of this extended object is not supported in CAD6starter and CAD6engine Eco! If already created, it can be displayed and modified generally, but not modified parametrically.
Data Block SequenceData Block 1008( AlignMode, Form, Mode, Unused ) Data Block 1009( Text )
ParametersAlignMode [__int32] Alignment mode for the code, see MKI_ALIGNMODE_*. Form [__int32] Graphical form of the Data Matrix code. Possible value are:
Mode [__int32] Bit-wise OR combination of flags that enable special modes. The following flags are defined: 0x00000001 The content shall be interpreted as human-readable GS1 data (with AIs in parentheses). Unknown AIs or invalid data format will cause a syntax error. The content may be ASCII 32 to 126 (not 127!). Otherwise, the content can be arbitrary data (ASCII 32 to 127) with optional '¶' characters (Ansi 182) that will be encoded as FNC1. Unused [__int32] Unused, set to 0. Text [MKI_STRSHORTW] Text to be encoded. Its length may be up to MKI_LENGTH_TEXT_SHORT characters including the terminating zero character (0x00). See also Advanced Text Capabilities. The result will be converted to ASCII before encoding. The maximum encodable length depends on the content (numerical or alphanumerical). Up to about 1.500 characters are possible at least.
Interface Command SequenceMKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_CODE_DM, Flag = MKI_EXTFLAG_TEXT MKI_ExtAddInt32, Type = 1008, ElemCount = 4 MKI_ExtAddText, Type = 1009, Static = false
Use code like the following to parse the data blocks of this entity in memory:
MKI_BLOCK_ENUM b1008( f_pExt ), b1009( f_pExt ); b1009.SetNext( b1008 );
__int32 nAlignMode = b1008.Int32(0); __int32 nForm = b1008.Int32(1); __int32 nMode = b1008.Int32(2);
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH