To make calculations based on the mounting angle, the rule needs to know if the plate is being knuckled towards the Molded side of the plate or towards the AntiMolded side. A wrapper has been provided in StructDetailObjects.PlatePart to indicate that the InsideFaceOfKnuckle is either Base or Offset.
If the wrapper returns “Base”, then the rule should check to see if “Base” is also the Molded side. Then, based on the welding, the values can be calculated and put into the correct set of parameters. This concept is illustrated in the following code: