Showing results for 
Search instead for 
Did you mean: 

Sheet Metal Newtral factor from Excel



In the Material Properties of some Sheet Metal Document, there is an option to use Excel table for newtral factors in the Gage tab.

So i just check this checkbox, and Solid Edge gets the Newtral Factors from the default excel table.


So i wrote this code:

SE_Part.SetGlobalParameter(SolidEdgePart.SheetMetalGlobalConstants.seSheetMetalNeutralFactorFromExcel, true);


**SE_Part is SolidEdgePart.SheetMetalDocument


So it should apply the checkbox in the Solid Edge UI and flat some document with newtral factors from the table.

But nothing happenned.


I have added one more code line to ensure that the property became True


SE_Part.SetGlobalParameter(SolidEdgePart.SheetMetalGlobalConstants.seSheetMetalNeutralFactorFromExcel, true);
SE_Part.GetGlobalParameter(SolidEdgePart.SheetMetalGlobalConstants.seSheetMetalNeutralFactorFromExcel, out Newtral_Factor_By_Table);


When i get the global parameter right after set it to True, i get False..

No error messages.. Nothing. Just like SetGlobalParameters does nothing. Smiley Sad


When this code run, the Sheet Metal document is in Ordered state (also tried in Flat state, same result).


Any suggestions?