|
SetAndApplyDifference (class MKI_BLOCK_ENUM) Renamed in Version 2021.0 |
www.CAD6.com |
C++ Syntax__int16 MKI_BLOCK_ENUM::SetAndApplyDifference( MKI_CONST_ENTITY_OBJECT_PTR f_pObj, MKI_CONST_BLOCK_PTR f_pBlock );
Sets m_nOffset to the difference between the given data block pointer f_pBlock and the corresponding object's pointer f_pObj. Afterwards, the current address m_pData is set 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 ValueReturns the type of the data block it now points to (m_cHeader.m_nBlockType) or MKI_DB_END in case of an error.
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH