poIPartAssembly GetSelectionSetHandle
Gets a copy of the poISelectionSet handle which holds the components that are contained within a part assembly.
Syntax
poIPartAssembly_handle GetSelectionSetHandlehandle
Application
HyperView Tcl Query
Description
This command retrieves a copy of the poISelectionSet handle which holds the components that are contained within a part assembly. This should be used for read only access to the underlying poISelectionSet and changes made to the poISelectionSet will have no impact on the part assembly.
Inputs
- handle
- The selection set handle to be set.
Example
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetPartAssemblyHandle part_assembly_handle 4
part_assembly_handle GetSelectionSetHandle sel_set_handle
set num_comps [sel_set_handle GetSize]
hwi CloseStack
Errors
Returns HW_InvalidHandle (3) if the part assembly handle is invalid.