Animating a Symbol Object to Provide Access to a Pick Action Menu
To configure an object on a symbol so that it provides access to the pick action menu of any item that you associate with the symbol, you need to:
- Configure a group parameter:
- Select Parameters in the View command group on the Graphics tab.
- In the Parameters window, select Add.
- In the Add Parameters window, define the name of the parameter and select the Group check box. The name of the group parameter will be an option that you can use to select the required expression, so it is better to define a suitable name. For example, if the symbol is designed for use with points, name the group parameter Point.
- Configure a child parameter named ObjectLink. The ObjectLink parameter has to be a child of the group parameter that you created in the previous step. It also has to be named ObjectLink as this is the property that links the pick action menu of an item to the symbol.
- Double click on the parameter object on the Mimic to display its Polyline Properties window.
- On the General tab, select the Animations button to display the Animations window.
- Select the PickParam property on the Animations window.
- Select the Edit button to display the Expression window.
- Select the browse button to display a context sensitive menu.
- Select the option that is named the same as the parameter you created in step 1.
A further menu is displayed. - Select the ObjectLink option.
The correct expression is shown in the Expression field. It has the format:"Parameter:<name of group parameter>.ObjectLink"
- Select the OK button to confirm the expression and close the Expression window.
- Select the PickType property.
- Select the Edit button to display the Expression window.
- Enter the number 1 for the PickType. This is the number for an Object Menu. (For a list of the numbers, see Pick Action Animations for Mimic Objects).
- Select the OK button to confirm the expression and close the Expression window.
- Close the Animations window.
The parameter object is now animated to provide access to the pick action menu of any item that is associated with the symbol.