MKI_MULTI_MAPPING (Multi-Entity Editing Classes) Renamed and changed in Version 2023.1 |
www.CAD6.com |
C++ Syntaxclass MKI_MULTI_MAPPING : public MKI_MULTI_BASE { public:
MKI_VECTOR m_cScaling; double m_dRotation, m_dDistortion, MKI_POINT m_cPointUnits; __int32 m_nDisplayMode; MKI_HIDELAYERS m_afHideLayers; MKI_LAYERDATA m_cLayerData;
void Init( void ); New in Version 2023.1
void Fill( MKI_CONST_ENTITY_MAPPING_PTR f_rMap ); New in Version 2023.1
void MKI_ENTITY_MAPPING_REF f_pMap, bool f_fCopyAll ) const; New in Version 2023.1 };
This structure contains mapping properties to be edited in a dialog window.
Element Descriptionm_cScaling [MKI_VECTOR] Horizontal and vertical scaling of the mapping. m_dRotation [double] Rotation of the mapping in [rad]. m_dDistortion [double] Distortion of the mapping in [rad]. m_cPointUnits New in Version 2023.1 [MKI_POINT] X and Y coordinate of the mapping’s insertion point in current length units (not in internal millimeters). m_nDisplayMode [__int32] Bit-wise OR combination of some flags indicating the display mode for the mapping. Possible values are (see MKI_DISPLAYMODE_*): MKI_DISPLAYMODE_SCALED_WIDTH MKI_DISPLAYMODE_NOSNAP MKI_DISPLAYMODE_NOGEO MKI_DISPLAYMODE_SCALED_LENGTH MKI_DISPLAYMODE_SCALED_DIMTEXT m_afHideLayers [MKI_HIDELAYERS] This array contains one bit for each layer indicating if the layer shall be output or not. m_cLayerData New in Version 2016.0 [MKI_LAYERDATA] This array contains property modifications for all layers to be applied within this mapping.
CommentWhen using functions of the base class MKI_MULTI_BASE, use the following flags defined in this class to identify its elements:
USE_XSCALE Apply the horizontal scaling m_cScaling.vx.
USE_YSCALE Apply the vertical scaling m_cScaling.vy.
USE_ROTATION Apply the rotation m_dRotation.
USE_DISTORTION Apply the distortion m_dDistortion.
USE_XPOS Apply the insert point’s X-coordinate m_cPosition.x.
USE_YPOS Apply the insert point’s Y-coordinate m_cPosition.y.
USE_SCALEDWIDTH Apply the m_nDisplayMode bit MKI_DISPLAYMODE_SCALED_WIDTH.
USE_NOSNAP Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOSNAP.
USE_NOGEO Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOGEO.
USE_HIDELAYERS Apply the hidden layer information m_afHideLayers.
USE_SCALEDLENGTH Apply the m_nDisplayMode bit MKI_DISPLAYMODE_SCALED_LENGTH.
USE_SCALEDDIMTEXT Apply the m_nDisplayMode bit MKI_DISPLAYMODE_SCALED_DIMTEXT.
USE_ADAPTSCALE Apply the m_nDisplayMode bit MKI_DISPLAYMODE_ADAPT_SCALE.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH