Hi,
I was trying to import an inp file. It has TOTALS = ONLY. But the program compares to ‘Only’.
Suggesting to change the TypeEnum to all capitals.
Also there is blank around = in TOTALS = ONLY in my file, so always need trim before comparing.
The third thing is when splitting with comma, need to consider the second line only has one RF value in my case, no comma.
Regards,
Cean
// U, RF, NT
//*NODE PRINT, NSET = ConstraintDisplacement003, TOTALS = ONLY
//RF
namespace CaeModel
{
[Serializable]
public enum TotalsTypeEnum
{
[StandardValue("Yes", Description = "Sum of external forces is printed in addition to the individual node values.")]
Yes,
[StandardValue("Only", Description = "Only sum of external forces is printed.")]
Only,
[StandardValue("No", Description = "Only individual node values are printed (default).")]
No
}