This function is available if the SpaITFCheckMethod package is loaded (Tools > Options... > Parameters and Measure > Knowledge Environment tab). The interference computation is run from the Space Analysis workbench.
DefineInterferenceComputation(p1:Product, p2:Product, TypCalc: String, ClearVal: Length, NameShape1: String, NameShape2: String, ThisRule: KWERule)
Defines the interference type, clearance value and shapes to be used in the interference computation between a pair of products.
where TypCalc is the interference type and ClearVal the clearance value in MKS units.
if (p1 != p2)
{
DefineInterferenceComputation (p1, p2,
"Clearance", 70mm,
"WRAPPING", "Shape 1",
ThisRule);
}