MKI_FIND_TEXT (Basic Classes) New in Version 2026.0

www.CAD6.com

C++ Syntax

class MKI_FIND_TEXT

{

  public:

 

  MKI_STRSHORTW m_szText;

  __int32 m_nMode;

 

  void

  Init( void );

 

  bool

  IsIdentical( const MKI_FIND_TEXT& f_rData ) const;

 

  bool

  Matches( const LPCWSTR f_pszText ) const;

};

 

This structure contains search criteria for text.

 

Element Description

m_szText

[MKI_STRSHORTW] Texts to be searched for.

m_nMode

[__int32] Find modes for each text to be searched. A bit-wise OR combination of the following values:

MKI_SEARCH_MODE_SENSITIVE

The search shall be case-sensitive.

MKI_SEARCH_MODE_NOTAGS

The search shall ignore formatting tags like <b> and </b>.

MKI_SEARCH_MODE_NOVARS

The search shall leave variables unresolved.

MKI_SEARCH_MODE_PARTIAL

The search shall find partial matches, i.e. texts that contain the search text.

MKI_SEARCH_MODE_RECURSE

The search shall recurse nested objects, instances, and references.

MKI_SEARCH_MODE_VISIBLE

The search shall only include visible texts.

MKI_SEARCH_MODE_OBJECTPROP New in Version 2021.2

When searching for property names, include object properties.

MKI_SEARCH_MODE_TEXTPROP New in Version 2021.2

When searching for property names, include text properties.

MKI_SEARCH_MODE_TEXT

The search shall search in standard texts.

MKI_SEARCH_MODE_DIMENSION

The search shall search in dimension texts.

MKI_SEARCH_MODE_ATTRIBVALUE Renamed in Version 2021.0

The search shall search in attribute contents.

MKI_SEARCH_MODE_BLOCKNAME

The search shall search in block names.

MKI_SEARCH_MODE_LIBRARYNAME

The search shall search in library names.

MKI_SEARCH_MODE_BITMAPNAME

The search shall search in bitmap names.

MKI_SEARCH_MODE_FONTNAME

The search shall search in font names.

MKI_SEARCH_MODE_DRAWINGNAME

The search shall search in drawing names.

MKI_SEARCH_MODE_HYPERLINK New in Version 6.30

The search shall search in hyperlink texts.

MKI_SEARCH_MODE_COMMENT New in Version 2019.1

The search shall search in comment objects.

MKI_SEARCH_MODE_ATTRIBNAME New in Version 2021.0

The search shall search in attribute names.

MKI_SEARCH_MODE_LAYERNAME New in Version 2021.2

The search shall search in layer names (MKI_SEARCH_MODE_OBJECTPROP and/or MKI_SEARCH_MODE_TEXTPROP must be set).

MKI_SEARCH_MODE_PENNAME New in Version 2021.2

The search shall search in pen names (MKI_SEARCH_MODE_OBJECTPROP and/or MKI_SEARCH_MODE_TEXTPROP must be set).

MKI_SEARCH_MODE_OTHERS New in Version 2026.0

The search shall search in all other locations (e.g. instance and blocks comments, hatching type descriptions, etc.).

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH