Matches (class MKI_FIND_BLOCK) New in Version 2026.0

www.CAD6.com

C++ Syntax

bool

MKI_FIND_BLOCK::Matches(

 const LPCWSTR f_pszLibrary,

 const LPCWSTR f_pszBlock ) const;

 

bool

MKI_FIND_BLOCK::Matches(

 __int32 f_nListIndex,

 const LPCWSTR f_pszLibrary,

 const LPCWSTR f_pszBlock ) const;

 

Checks if the current criteria match a given block description.

 

Parameters

f_nListIndex

[__int32] Current memory list index as context to know where a library name of "*" refers to, see MKI_ENTITYLIST_*.

If no list index is given, "*" will always refer to the current drawing's internal library.

f_pszLibrary

[const LPCWSTR] Library name to match the criteria to.

f_pszBlock

[const LPCWSTR] Block name to match the criteria to.

 

Return Value

Returns true if matching.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH