see Add CAD-Control FB.
Use a CAD Control FB to synchronize Distance or Angle mates in a SolidWorks® Assembly model with the motion of Parts in a MechDesigner model.
You can control up to four(4) SolidWorks® mates with one CAD-Control FB.
Why use a CAD-Control FB? You can use the powerful Evaluation / Validation Tools in SolidWorks® to check clearance on Cams, for example.
See Getting Started Tutorial 6C3: Examine 3D-Cam Clearances
STEP 1: Connect wires to the input-connectors of the CAD-Control FB from other FBs in MechDesigner model.
The motion-values at the output of a FB you connect should control a Motion-Dimension and be equivalent to a Distance or Angle Mate in SolidWorks that you want to control.
If you want to control a Distance (or Angle) Mate, then make sure Output Data Type in the Motion FB dialog-box(s) are set to Linear (or Rotary).
STEP 2: Open the SolidWorks Assembly.
STEP 3: Double-Click a CAD-Control FB in the graphic-area, to open this dialog-box
If necessary, click Dimension and CAD Model Path to expand the dialog-box.
STEP 4: Click the Refresh button.
When you click the Refresh button, MechDesigner finds all of the Dimension and Angle mates in your SolidWorks® Assembly model.
STEP 5: Click the Available Dimensions down-arrow button to see the mates that have been found in the SolidWorks® Assembly model.
STEP 6: Click, in the Available Dimension list, each Dimension or Angle mate you want to control from MechDesigner
Repeat to select all of the mates you want to control - to a maximum of 4.
Note: You must select the mates in the same order (sequence) as the wires that are connected to the input-connectors of the FB.
The mates show in the CAD-Dimension Names to Drive box.
If the mates are not in the same sequence as the wires you can click the Clear CAD Dimensions button.
You can select the mates again.
STEP 7: Click the Drive CAD Enabled check-box at the top of the dialog-box.
DO NOT CLOSE THE DIALOG - YOU CAN ONLY CONTROL THE MATES WITH THIS DIALOG OPEN.
The position of the Parts in the SolidWorks® Assembly model move* when you move the model in MechDesigner.
STEP 8: Click at the top of the dialog-box when you have finished using the evaluation and analysis tools in SolidWorks®.
* Only use the Home, Step Back or Step-Forward buttons in the Run toolbar. Do not use the Cycle button.