Function pfcCreateModelItemSelection
# include <pfcSelect.h>
pfcSelection_ptr pfcCreateModelItemSelection
(pfcModelItem_ptr SelItem, optional pfcComponentPath_ptr Path)
Description
Used to create a pfcSelection object, based on a pfcModelItem and, optionally, its pfcComponentPath in an assembly.
Exceptions thrown (but not limited to):
pfcXToolkitInvalidPtr - The selection argument is an invalid pointer.
-
Parameters:
-
-
SelItem
- The Selected pfcModelItem
-
Path
- The pfcComponentPath of the selected object within an assembly.
-
Returns:
- The pfcSelection object.