SetAndApplyOffset (class MKI_BLOCK_ENUM) New in Version 2021.0

www.CAD6.com

C++ Syntax

__int16

MKI_BLOCK_ENUM::SetAndApplyOffset(

 const MKI_OFFSET f_nOffset );

 

Sets m_nOffset to the given offset, and sets the current address m_pData to the base address plus offset.

 

This does not change the value of m_pEntity or m_pBase! Call MKI_BLOCK_ENUM::SetBaseAndResetOffset to do so.

 

Return Value

Returns the type of the data block it now points to (m_cHeader.m_nBlockType) or MKI_DB_END in case of an error.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH