API 설명서 > Selection > Object ProSelection > Function ProSelectionAlloc
Function ProSelectionAlloc
Description
Allocates and optionally fills in a selection object.
The allowed combinations of input arguments are as follows: p_cmp_path p_mdl_itm !NULL!NULL NULL!NULL NULLNULL
Replacement in Object TOOLKIT:
Synopsis
#include <ProSelection.h>
ProSelectionAlloc
(
ProAsmcomppath* p_cmp_path
/* (In)
The component path. Can be NULL only in case of parts. Cannot be NULL in case of assemblies.
*/
ProModelitem* p_mdl_itm
/* (In)
The model item (can be NULL)
*/
ProSelection* p_selection
/* (Out)
The allocated selection object
*/
)
Returns
The function successfully allocated the selection.
The allocation failed.
Sample Code References
User Guide References
도움이 되셨나요?