MKI_SHP_EXPORT (Import and Export Classes) New in Version 2025.1

www.CAD6.com

C++ Syntax

class MKI_SHP_EXPORT

{

  public:

 

  MKI_FILENAMEW    m_szFileName;

  MKI_DATABASENAME m_szReferenceDatabase;

 

  __int32 m_nShapeObjects;

 

  bool m_fUseInternalOrigin,

       m_fApplyUnit,

       m_fExportInternalObjID,

       m_fUpdateObjectData;

 

  double      m_dGlobalScaling;

  MKI_STR256W m_szGlobalScaling;

 

  MKI_SHP_EXPORT( void );

 

  void

  Init( void );

};

 

This structure contains information for an SHP export. Please refer to the help text of the corresponding CAD6 command for more details.

 

Element Description

m_szFileName

[MKI_FILENAMEW] Name of the file to be created.

m_szReferenceDatabase

[MKI_DATBASENAME] Name of database used for export.

m_nShapeObjects

[__int32] Shape objected type to be exported.

SHAPE_POINTS

Point: marking, text, coordinate dimension, block.

SHAPE_MULTIPOINTS

Multi-Point: (multi-)marking, text, coordinate dimension, block.

SHAPE_LINES

Polyline: line, polyline, curve, converted area object.

SHAPE_POLYGONS

Polygon: polygon, circle, ellipse, surface.

m_fUseInternalOrigin

[bool] Use internal coordinate origin instead of the current drawing's origin for export.

m_fApplyUnit

[bool] Use unit and scale from the active coordinate system.

m_fExportInternalObjID

[bool] Export unique object identification (object ID).

m_fUpdateObjectData

[bool] Update all object data in the reference database before the export.

m_dGlobalScaling

[double] Factor used to scale all objects before export.

m_szGlobalScaling

[MKI_STR256W] String which is evaluated to retrieve m_dGlobalScaling after the user exits the options dialog with "OK" (ignore this string and always use m_dGlobalScaling).

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH