MKI_MULTI_REF (Multi-Entity Editing Classes) Renamed and changed in Version 2023.1 |
www.CAD6.com |
C++ Syntaxclass MKI_MULTI_REF : public MKI_MULTI_BASE { public:
MKI_FILEREFERENCE m_szDrawingName; MKI_VECTOR m_cScaling; double m_dRotation, m_dDistortion; MKI_POINT m_cPointUnits; __int32 m_nDisplayMode; MKI_HIDELAYERS m_afHideLayers;
void Init( void ); New in Version 2023.1
void Fill( MKI_CONST_ENTITY_REF_PTR f_pRef ); New in Version 2023.1
bool MKI_ENTITY_REF_PTR f_pRef, bool f_fCopyAll ) const; New in Version 2023.1 };
This structure contains external drawing reference properties to be edited in a dialog window.
Element Descriptionm_szDrawingName Changed in Version 2019.1 [MKI_FILEREFERENCE] Drawing file name. m_cScaling Changed in Version 6.41 [MKI_VECTOR] Horizontal and vertical scaling of the reference. m_dRotation [double] Rotation of the reference in [rad]. m_dDistortion [double] Distortion of the reference in [rad]. m_cPointUnits New in Version 2023.1 [MKI_POINT] X and Y coordinate of the reference’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 external drawing. Possible values are (see MKI_DISPLAYMODE_*): MKI_DISPLAYMODE_SCALED_WIDTH MKI_DISPLAYMODE_CONFINED MKI_DISPLAYMODE_NOGEO MKI_DISPLAYMODE_ADAPT_ANGLE MKI_DISPLAYMODE_SCALED_LENGTH MKI_DISPLAYMODE_ADAPT_SCALE MKI_DISPLAYMODE_NOHIDE New in Version 2021.1 m_afHideLayers New in Version 2018.0 [MKI_HIDELAYERS] This array contains one bit for each layer indicating if the layer shall be output or not.
CommentWhen using functions of the base class MKI_MULTI_BASE, use the following flags defined in this class to identify its elements:
USE_NAME Apply the drawing file name m_szDrawingName.
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_CONFINED Apply the m_nDisplayMode bit MKI_DISPLAYMODE_CONFINED.
USE_NOGEO Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOGEO.
USE_ADAPTANGLE Apply the m_nDisplayMode bit MKI_DISPLAYMODE_ADAPT_ANGLE.
USE_SCALEDLENGTH Apply the m_nDisplayMode bit MKI_DISPLAYMODE_SCALED_LENGTH.
USE_ADAPTSCALE Apply the m_nDisplayMode bit MKI_DISPLAYMODE_ADAPT_SCALE.
USE_NOHIDE Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOHIDE.
USE_HIDELAYERS Apply the hidden layer information m_afHideLayers.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH