Example - Parameterizing Values for Marker Locations
This example shows how to use the
LOC_ALONG_LINE function to parameterize the location of a marker with respect to another marker.
To parameterize a location:
1. Create three markers, MAR_1, MAR_2, and MAR_3, placed randomly.
2. Right-click the MAR_2 screen icon, and then select Modify.
The Marker Modify dialog box appears.
3. Clear the coordinate values from the Location text box.
4. Right-click the Location text box, point to Parameterize, and then select Expression Builder.
The Function Builder appears in expression mode.
5. Clear the text from the function work area.
6. From the Location/Orientation function category, select LOC_ALONG_LINE.
7. Select Assist.
The LOC_ALONG_LINE dialog box appears.
8. From the box pop-up menus, use Browse to insert:
■MAR_1 in Object for Start Point text box.
■MAR_3 in Object for Point on Line text box.
9. In the Distance text box, enter 50.
10. Select OK in the following dialog boxes, in the order listed:
■The LOC_ALONG_LINE dialog box.
The function you just defined appears in the function work area of the Function Builder.
■The Function Builder.
The function appears in the Location text box.
■The Marker Modify dialog box.
MAR_2 is now 50 units from MAR_1. MAR_1 and MAR_2 are parameterized. As a result, if you move one marker, the other marker moves along with it.