MKI_POINTIDENTDATA (Basic Classes) Changed in Version 2023.0

www.CAD6.com

C++ Syntax

class MKI_POINTIDENTDATA

{

  public:

 

  MKI_POINT_PTR m_pPoints;

  __int32 m_nCount,

          m_nFlag;

  double m_dRadius;

 

  MKI_POINTIDENTDATA_DATA( void ); New in Version 2023.0

 

  void

  Init( void ); New in Version 2023.0

};

 

This structure contains information for point identification as required by plug-ins whose MKI_PlugInNotify procedure is called with the MKI_NOTIFY_EXT_POINT_IDENT mode.

 

Element Description

Points

[MKI_POINT_PTR] Address to a list of points entered by the user for identification. The use depends on the value of Count.

Count

[__int32] Number of points in the polygon. If Count is 1, this one point is used for a "nearest point identification", i.e. the nearest of all points is to be (de-)identified. If Count is at least 3, those points form a polygon and all points inside that polygon are to be (de-)identified. If Count is 0, the value of Flag determines which points shall be identified.

Flag

[__int32] Flag to be used for point identification. Only used if Count is 0. Possible values are:

MKI_FLAG_NULL

All points shall be identified.

MKI_FLAG_SELECT

All permanently selected points (marked with the MKI_FLAG_SELECTED flag) shall be identified.

MKI_FLAG_PREVIOUS

All previously identified points (marked with the MKI_FLAG_PREVIOUS flag) shall be identified.

Radius

[double] Effective snapping radius in internal [mm] (scale-independent). Only used if Count is 1, in which case only those points shall be recognized which are not further away from the one given point than this value.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH