API Documentation > Selection > Object ProSelection > Function ProSelectionSet
Function ProSelectionSet
Description
Sets the model item (and optionally a component path) for a selection object.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSelection.h>
ProSelectionSet
(
ProSelection selection
/* (In)
The selection object
*/
ProAsmcomppath* p_cmp_path
/* (In)
The component path (can be null)
*/
ProModelitem* p_mdl_itm
/* (In)
The model item
*/
)
Returns
The function successfully set the component path.
The supplied inputs were incorrect.
Sample Code References
User Guide References
Was this helpful?