Toperand1= TheSystem.TDE.GetOperandAt(1);
Toperand1.ChangeType(ZOSAPI.Editors.TDE.ToleranceOperandType.TTHI);
Toperand1.GetCellAt(2).IntegerValue=3;
Toperand1.GetCellAt(3).IntegerValue=4;
Toperand1.Min=-0.5;
Toperand1.Max=0.5;
Toperand1.Comment= ' 'Thickness of surf3'' ;
The above code set tolerance operand#1 as TTHI.
tolFileName= ‘C:\MYDIR\MYLENS.TOL’;
TheSystem.TDE.SaveToleranceFile (tolFileName);
TheSystem.TDE.SaveToleranceFile('file in default folder.tol');
TheSystem.TDE.LoadToleranceFile ('file in default folder.tol');
- Save tolerance file to user defined path
- Save tolerance file to default folder
- Leave tolerance file