MKI_ENTITY_BASE (Entity Classes) Changed in Version 2023.2 |
www.CAD6.com |
C++ Syntaxclass MKI_ENTITY_BASE { public:
MKI_ENTITY_MEMORY m_cMemory; MKI_ENTITY_PTR m_pParent; MKI_ENTITY_HEADER m_cHeader;
void InitHeader( __int32 f_nEntityType );
MKI_ENTITY_PTR GetRoot( void ) const;
__int32 GetDepth( void ) const;
__int64 GetElemCount( void ) const;
bool GetLinkedID( MKI_UNIQUE_ID_REF f_rID ) const;
bool SetLinkedID( MKI_CONST_UNIQUE_ID_REF f_rID );
bool GetTitle( MKI_STR256W& f_rszText ) const;
bool GetLongTitle( MKI_STR256W& f_rszText ) const;
bool GetMultiXProperty( MKI_MULTI_XPROPERTY_REF f_rData ) const; New in Version 2023.1
LPBYTE GetDataAddress( void ) const;
size_t GetHeaderSize( void ) const; New in Version 2021.0
__int32 GetDataType( void ) const;
__int32 GetOutputType( void ) const;
bool AllowsOutlineOrPointAttributes( void ) const; New in Version 2021.0
bool IsHidden( void ) const; New in Version 2022.1
bool IsExtAny3D( void ) const; New in Version 2023.0
bool IsExt3DAssembly( void ) const; New in Version 2023.0
bool IsExt3DMapping( void ) const; New in Version 2023.0
bool IsExtGradient( void ) const; New in Version 2023.0
bool IsExtParametric( void ) const; New in Version 2023.0
__int32 GetFlag( void ) const; New in Version 2022.1
bool IsFlagSet( const __int32 f_nFlag ) const; New in Version 2023.2
bool IsFlagClear( const __int32 f_nFlag ) const; New in Version 2023.2
void SetFlag( const __int32 f_hFlag ); New in Version 2022.1
void SetFlagBits( const __int32 f_hFlag ); New in Version 2022.1
void ClearFlagBits( const __int32 f_hFlag ); New in Version 2022.1
void InvertFlagBits( const __int32 f_hFlag ); New in Version 2022.1 };
This structure defines the basic data for all entity types.
Element DescriptionMemory [MKI_ENTITY_MEMORY] This structure contains internal information of the storage management. Do not modify any of the values stored in this structure! Parent New in Version 2017.0 [MKI_ENTITY_PTR] Address of the parent entity one level above this entity or nullptr if none. This value must not be modified! Header [MKI_ENTITY_HEADER] This structure contains internal information about the entity.
MKD SyntaxWhen used with Header.EntityType set to MKI_ENTITYTYPE_END (999), this entity marks the end of an entity sequence. Such an entity terminates file each section containing entities and each entity list within other entities.
An entity of type "End of List" has the following structure:
,,999,,””;
Since such an entity never exists in memory and only its entity type is relevant, it always uses the shortest possible valid notation in the file with EntityOwner and EntityMode set to zero, as well as an empty UniqueID.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH