MKI_BLOCK_HEADER (Data Block Classes) |
www.CAD6.com |
C++ Syntaxclass MKI_BLOCK_HEADER { public:
MKI_OFFSET m_nSize; __int16 m_nIdent, m_nFlag, m_nBlockOwner, m_nBlockType, m_nElemType, m_nElemCount; };
This structure contains basic information about a data block.
Element DescriptionSize [MKI_OFFSET] Size of the data block in bytes. Add this value to the data block's address to get the address of the next data block. This value must not be modified! Ident [__int16] Identification ID of the object. This value must not be modified! Flag [__int16] Status of the object. This value must not be modified! BlockOwner [__int16] This value is a unique identification of the creator of the plug-in that created the data block. The value MKI_DB_OWNER_MK is reserved for use by Malz++Kassner, especially for objects and data blocks that are created and handled directly by the application. Valid range: 0 <= Value < 10000. Third-party vendors that plan to implement a plug-in should contact Malz++Kassner to receive their unique identification (see Getting Your Private Owner ID). BlockType [__int16] This value is an internal identification of the object. This value is used by the plug-in that created this object. For information about this value see the documentation of the plug-in which should include a description of all extended objects used. Data blocks created by third-party vendors should use values between 1000 and 29999 (inclusive), the other values are reserved for direct use by Malz++Kassner. ElemType [__int16] Identifies the element type of the data block (see MKI_DB_TYPE_*). ElemCount [__int16] Number of values that are stored in this data block. The value must be between 1 and 30000 (inclusive). Inside native data blocks (ElemType=0), this value is usually ignored and set to 0. The only exception are Attribute Data Blocks which store the maximum attribute length here.
MKD SyntaxThis data block is used to store a data block header.
BlockOwner,BlockType,ElemType,ElemCount;
CommentNative data blocks (ElemType=0) are complex data blocks that are used to store native data of the application. Every native data block has its own structure and must be handled separately. Third-party plug-ins are not allowed to define their own native data blocks, they have to use data blocks with a non-zero ElemType instead.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH