Hello jason!
Hi all!
I want to specified material with my program.
SolidEdgeFramework.Application SEApp1 = null;
SolidEdgeFramework.SolidEdgeDocument SEDoc1 = null;
SEApp1 = Marshal.GetActiveObject("SolidEdge.Application") as SolidEdgeFramework.Application;
SEDoc1 = SEApp1.ActiveDocument as SolidEdgeFramework.SolidEdgeDocument;
SolidEdgeFramework.MatTable Table_Materiel = SEApp1.GetMaterialTable();
Table_Materiel.ApplyMaterial(SEDoc1, comboBox1.Text);
After Run , have a error message
"The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"
please help!
|