public void RefreshGlobalParameters()
 {
     ComPtr pApplication = IntPtr.Zero;
     if (MarshalEx.Succeeded(MarshalEx.GetActiveObject("SolidEdge.Application", out pApplication)))
     {
         SelectedObject = new GlobalParameterInfo(pApplication);
     }
 }
Esempio n. 2
0
        public void RefreshGlobalParameters()
        {
            ComPtr pApplication = IntPtr.Zero;

            if (MarshalEx.Succeeded(MarshalEx.GetActiveObject("SolidEdge.Application", out pApplication)))
            {
                SelectedObject = new GlobalParameterInfo(pApplication, this.textBoxSearch.Text);
            }
        }