| Visual Basic | |
|---|---|
Sub GetSel( _ ByRef ppoSel() As EdmTaskSel _ ) | |
| C# | |
|---|---|
void GetSel( out EdmTaskSel[] ppoSel ) | |
| C++/CLI | |
|---|---|
void GetSel( & [Out] array<EdmTaskSel>^ ppoSel ) | |
Parameters
- ppoSel
- Array of EdmTaskSel structures; one structure for each selected object
The user can select the objects on which the task performs from a dialog box that is displayed when the task add-in calls IEdmAddIn5::OnCmd. The hook, EdmCmdType.EdmCmd_TaskLaunch, must be previously registered by calling IEdmCmdMgr5::AddHook in your implementation of IEdmAddIn5::GetAddInInfo. The add-in returns the user's selections in the EdmCmdData structures that are returned by IEdmAddIn5::OnCmd.
You can set a selection of objects directly in this task definition by calling IEdmTaskProperties::SetSel.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2010