Repairs a planning joint by placing it in the first assembly/block containing parts that it joins (the "first meet" assembly), unless the planning joint was manually moved to a different assembly/block.
Visual Basic Project:[Programming Resources Folder]\Programming\ExampleCode\Planning\Rules\CheckMfcty\PlanningJointRepairRule\PlnJointRepairRules.vbp
Compiled Rule: [Reference Data Folder]\SharedContent\bin\Planning\Rules\Release\SM3DPlanningJointRepairRules.dll
Bulkload: Check Planning Manufacturability Worksheet
You can modify planning repair rules by modifying the logic in an existing class, creating a new class and writing a new rule, or removing an existing class that is not needed.
The following class module is included in the Visual Basic project:
FirstMeet.cls
-
Repairs the planning joint by movingthe joint to the "first meet" assembly.
-
Gets all the planning joints from the selected object.
-
Get the first meet assembly and the parent assembly of the planning joint.
-
From these planning joints, finds thosejoints that were moved manually but that are currently under the "first meet" assembly.
-
Sets a property on these joints so that the joints are not ignored when the repair rule is run in the future.
-
Manually moved planning joints that are not currently under the "first meet" assembly are ignored by the repair rule.