Category Sketches and sections, Object ProSection

Function ProSectionDimensionIdsGet


Description
Returns corresponding arrays of section dimension identifiers and solid dimension identifiers.
Synopsis
#include <ProSection.h>
ProErrorProSectionDimensionIdsGet(
ProSection section
/* (In)
The section.
*/
ProIntlist* sec_dim_id_list
/* (Out)
The returned array of section dimension identifiers that have corresponding dimensions in the solid. Release the memory using ProArrayFree().
*/
ProIntlist* solid_dim_id_list
/* (Out)
The returned array of solid dimension identifiers. Release the memory using ProArrayFree().
*/
int* p_num_ids
/* (Out)
The size of the two returned lists.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_NOT_EXISTSolid model does not exist or number of dimensions does not match in section and solid.
See Also
ProArrayFree

Sample Code References:

  1. pt_examples ( UtilSect.c )