Category Creo Parametric TOOLKIT fundamentals, Object ProArray

Function ProArrayMaxCountGet


Description
Calculates the maximum number of objects that can be stored in a ProArray with objects of size obj_size. Refer to ProArrayAlloc for data on specifying the ProArray.
Synopsis
#include <ProArray.h>
ProErrorProArrayMaxCountGet(
int obj_size
/* (In)
The size of the object.
*/
int* max_num_objs
/* (Out)
The maximum number of objects of size obj_size that can be stored in a ProArray.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully calculated the maximum number of objects.

Manual References:

  1. Fundamentals: Expandable Arrays
  2. Fundamentals: Expandable Arrays