![]() |
MKI_MODELDEF (Entity Data Classes) Changed in Version 2024.2 |
www.CAD6.com |
C++ Syntaxclass MKI_MODELDEF { public:
double m_dModelScale; __int32 m_nModelMode, m_nModelSystem;
__int32 m_nRecentPage; New in Version 2024.2 MKI_WINDOWZOOM m_cRecentView; New in Version 2024.2 MKI_WINDOWSYSTEM m_cRecentSystem; New in Version 2024.2
MKI_HIDELAYERS m_afHideLayers;
__int32 m_nMapEditMode; MKI_COLORVALUE m_cMapEditColor;
void Init( void ); };
This structure contains a model space definition.
Element Descriptionm_dModelScale [double] A factor by which elements in the model space are to be scaled during display. m_nModelMode defines which element to scale. m_nModelMode [__int32] Model space scaling mode (see MKI_MODELMODE_*). m_nModelSystem [__int32] This value contains a non-negative coordinate system number if the model space shall be logically linked to a coordinate system. If not, it is negative. If m_nModelSystem is non-negative, the linked coordinate system will be activated once the page is displayed by means of an appropriate zoom function. m_nRecentPage New in Version 2024.2 [__int32] Index of the page active before switching to model space. m_cRecentZoom New in Version 2024.2 [MKI_WINDOWZOOM] Contains the zoom that was last active when leaving model space. When switching (back) to model space, it shall be restored. m_cRecentSystem New in Version 2024.2 [MKI_WINDOWSYSTEM] Contains the coordinate system data that was last active when leaving model space. When switching (back) to model space, it shall be restored. m_afHideLayers New in Version 2024.0 [MKI_HIDELAYERS] This array contains one bit for each layer indicating if the layer shall be output or not. m_nMapEditMode New in Version 2024.0 [__int32] Mapping editing mode (see MKI_MAPEDITMODE_*). m_nMapEditColor New in Version 2024.0 [MKI_COLORVALUE] Mapping editing display color in RGB notation.
MKD SyntaxModelSystem, ModelRecentZoom,ModelRecentSystem,ModelRecentPage,ModelScale,ModelMode,MapEditMode,MapEditColor, ModelHideLayers;
If m_afModelHideLayers is completely zero, it may be omitted.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH