![]() |
MKI_CollectionGetItemNumber (Collections) Changed in Version 2021.0 |
www.CAD6.com |
C++ Syntax__int32 MKI_CollectionGetItemNumber( const LPCWSTR f_pszCollectionName, __int32 f_nOwnerID, __int32 f_nType );
Determines the number of items in a specific collection or in all collections.
Not supported in CAD6starter!
Parametersf_pszCollectionName [const LPCWSTR] Title of the collection in which the items shall be counted. If the collection name is MKI_BLOCK_ID, the drawing's internal collection's items will be counted. If nullptr, the items in all collections will be counted. f_nOwnerID [__int32] Identification of the creator. If non-negative, only items with this f_nOwnerID will be counted. If negative, items with any f_nOwnerID will be counted. f_nType [__int32] Internal identification of the item. If non-negative, only items with this f_nType will be counted. If negative, items with any f_nType will be counted.
Return ValueNumber of items found or a negative value in case of an error.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH