MKI_FIND_BLOCK (Basic Classes) New in Version 2026.0

www.CAD6.com

C++ Syntax

class MKI_FIND_BLOCK

{

  public:

 

  MKI_LIBRARYNAME m_szLibrary;

  MKI_BLOCKNAME m_szBlockName;

  __int32 m_nMode;

 

  void

  Init( void );

 

  bool

  IsIdentical( const MKI_FIND_BLOCK& f_rData ) const;

 

  bool

  Matches( const LPCWSTR f_pszLibrary, const LPCWSTR f_pszBlock ) const;

 

  bool

  Matches( __int32 f_nListIndex, const LPCWSTR f_pszLibrary, const LPCWSTR f_pszBlock ) const;

};

 

This structure contains search criteria for block references.

 

Element Description

m_nLibrary

[MKI_LIBRARYNAME] Name of the library to find. An empty name means "any".

m_nBlock

[MKI_BLOCKNAME] Name of the block to find. An empty name means "any".

m_nMode

[__int32] Find modes for each block reference 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_PARTIAL

The search shall find partial matches, i.e. names 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 references.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH