Use part selection rules to automate part selection from the catalog using specific criteria. These rules inherit from the SupportPartSelectionRule class, and return a Part from a specific PartClass. For more information about units and precision types, see Bill of Material Units.
Rule_PartByRodSizeS3DPrt.cs
Selects a part based on the rod diameter. This rule does not use a service table.
Input
rodDiameter - The rod diameter of the part
partClass - The catalog part class
Output
selectedPart - The part that has the matching rod diameter
Example
The DDS_RH-Top-1 sub-assembly uses this rule to select the correct rod, turnbuckle, nut, and washer plate parts.
Rule_TrunPartByND.cs
Selects a part based on the trunnion diameter. This rule uses the DDS_Trunnion_Size service class.
Input
loadTableServiceClass - The service class table DDS_Trunnion_Size
partClass - The catalog part class
pipeDiameter - The nominal diameter of the supported route
Output
rulePart - The selected part
Example
The DDS_RH-Bot-Clamp sub-assembly uses this rule to select the clamp part.