|
MKI_DRAWINGREF (Basic Classes) New in Version 2026.0 |
www.CAD6.com |
C++ Syntaxclass MKI_DRAWINGREF { public:
__int32 m_nFileType; MKI_FILEREFERENCE m_szCacheName;
union { MKI_DWGDXF_IMPORT m_cDWGDXF; MKI_PDF_IMPORT m_cPDF; MKI_SVG_IMPORT m_cSVG; };
MKI_DRAWINGREF( void );
void Init( void );
bool GetOptions( void );
bool const MKI_DRAWINGREF& f_rData ); };
This structure contains settings for a drawing reference.
Element Descriptionm_nFileType [__int32] File type of the referenced file. Possible values are (see MKI_FILETYPE_*): MKI_FILETYPE_MKD MKI_FILETYPE_DWG MKI_FILETYPE_DXF MKI_FILETYPE_PDF MKI_FILETYPE_SVG m_szCacheName [MKI_FILEREFERENCE] File name of the converted drawing file, maximum 255 characters (in case of a non-MKD reference). This value must not be modified! m_cDWGDXF [MKI_DWGDXF_IMPORT] Import settings for opening a DWG or DXF file. Used for file types MKI_FILETYPE_DWG and MKI_FILETYPE_DXF. Its m_nImportMode should be set to IMPORTMODE_REFERENCE. m_cPDF [MKI_PDF_IMPORT] Import settings for opening a PDF file. Used for file type MKI_FILETYPE_PDF. Its m_nImportMode should be set to IMPORTMODE_REFERENCE. m_cSVG [MKI_SVG_IMPORT] Import settings for opening a SVG file. Used for file type MKI_FILETYPE_SVG.
For the file type MKI_FILETYPE_MKD, no contents of the union is used.
MKD SyntaxThis structure contains settings for a drawing reference.
FileType [,-optional cache name and options-]
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH