Hi
I have a specific question, I need to get explorer running without using the context menu. Is there an easy way of doing this?
I will appreciate your help
Kind regards
ibi
Launching explorer from code
Re: Launching explorer from code
Hi Ibi
Yes:
http://www.dynoinsight.com/Help/Interfa ... chExplorer
It was added in v4.3 I think.
C# MiniCAD has an example:
KernelCAD_4_3\Samples\NET\C#\MiniCAD\MiniCADForm.cs
private void OnModelExplorer(object sender, EventArgs e)
{
IView iView = (IView)axKernCADnet1.GetView();
IGlobalAPI_KC iApi = (IGlobalAPI_KC)iView;
iApi.LaunchExplorer(m_iModel, iView);
}
C++:
void MiniCADDlg::OnToolsModelexplorer()
{
IView* iView = (IView*)m_ctrlCAD.GetView();
IGlobalAPI_KC* iApi = NULL;
iView->QueryInterface(IID_IGlobalAPI_KC, (void**)&iApi); CH(iApi);
iApi->LaunchExplorer(m_pIModel, iView);
}
Regards
Yes:
http://www.dynoinsight.com/Help/Interfa ... chExplorer
It was added in v4.3 I think.
C# MiniCAD has an example:
KernelCAD_4_3\Samples\NET\C#\MiniCAD\MiniCADForm.cs
private void OnModelExplorer(object sender, EventArgs e)
{
IView iView = (IView)axKernCADnet1.GetView();
IGlobalAPI_KC iApi = (IGlobalAPI_KC)iView;
iApi.LaunchExplorer(m_iModel, iView);
}
C++:
void MiniCADDlg::OnToolsModelexplorer()
{
IView* iView = (IView*)m_ctrlCAD.GetView();
IGlobalAPI_KC* iApi = NULL;
iView->QueryInterface(IID_IGlobalAPI_KC, (void**)&iApi); CH(iApi);
iApi->LaunchExplorer(m_pIModel, iView);
}
Regards