This example shows how to create a variable formula that calculates the bolt group distance
from the beam flange.
-
Modify the bolt group properties as follows:
-
In the custom component editor, double-click the bolt group.
The
Bolt properties open.
-
Clear all values that are in the
Offset from section.
-
Click
Modify.
The bolt group moves to the same level with the start point handle of the bolt group.
-
Bind the bolt group to the beam flange:
-
In the custom component editor, select the bolt group.
-
Select the yellow top handle.
-
Right-click the handle and select Bind to plane.
-
Select the top flange of the beam.
A new
distance variable appears in the Variables dialog box.
-
On
the Custom component editor toolbar, click the Display variables
button.
The Variables dialog box opens.
-
Click
Add to create a new parametric variable.
-
Modify the variable as follows:
-
In the Formula box, enter a distance value.
-
In the Label in dialog box box, enter Vertical distance to bolt.
-
In the Formula box, enter =-P1 for the distance variable.
-
Save the custom component.
-
Close the custom component editor.
You can now determine the bolt group distance from the beam flange by changing the
Vertical distance to bolt value in the custom component's dialog box.