MicroStation CONNECT Edition Help

To Add Tool Settings to a Tool

Before you can add tool settings to a custom tool you must find out which tool settings are available. You do this through the Key-in window. Once you have found the available tool settings you can add them to the custom tool.

  1. In the expanded Key-in window ( Drawing > Home > Primary > Key-in ), enter the key-in that the tool will activate. For example, key in PLACE LINE CONSTRAINED.
  2. Type SET ITEM TOOLSETTINGS but do not press the <Enter> key.

    The fourth column displays the possible settings. For the example above they are: angle, angletoggle, length, lengthtoggle, solutionchoice, and solutiontoggle. Make a note of the settings that you want to set for your custom tool.

  3. In the Customize dialog ( File > Settings > Configuration > Customize ) , click the Tools tab.
  4. Expand the User Tools section and expand the open DGN file.

  5. Expand the toolbox containing the tool to which you are adding settings.

  6. Select the tool to which you are adding settings.

    If the tool's Key-in property is not visible in the Properties pane, click the arrow on the right side of the Command Data tab.

  7. In the Key-in field, type the key-in. For example, type PLACE LINE CONSTRAINED.
  8. Do one of the following:

    Right-click the tool that will have settings and select Add from the pop-up menu.

    or

    Right-click below the tool's existing properties and select Add from the pop-up menu.

    A cascading list of property categories appears.

  9. Click Dialog Item Settings.

    The Dialog Item Settings properties appear in the Properties pane under the Item Settings tab. If the tool's Dialog Item Settings property is not visible in the Properties pane, click the arrow on the right side of the Item Settings tab.

  10. (Optional) To add multiple settings for this tool, right-click the Item Settings tab and select Dialog Item Settings from the pop-up menu.

    Dialog Item Settings(0), Dialog Item Settings(1), etc. appear in the Properties pane.

  11. Expand Dialog Item Settings(0). In the Dialog Item Name field, replace ToolSettings.ItemName with the name of the first setting. For example, type ToolSettings.lengthtoggle. This tool setting will turn on the Length check box.
    Note: The first part of the dialog item name is always "ToolSettings," no matter which tool is currently selected. The second part of the dialog item name is the setting you found in step 2. The dialog and item names are case-insensitive.
  12. In the Type field, select Literal, Distance, Area, or Volume. For example, select Literal, because a literal value will turn on the check box in the next step.
  13. In the Value field, type a value for the setting. For example, type 1 to turn on the Length check box.
  14. Expand Dialog Item Settings(1). In the Dialog Item Name field, replace ToolSettings.ItemName with the name of the second setting. For example, type ToolSettings.length. This tool setting will set a length in the Length field.
  15. In the Type field, select Literal, Distance, Area, or Volume. For example, select Distance, because a distance value will be specified in the next step.
  16. In the Value field, type a distance. For example, type 20 to put 20 in the Length field.

    The Place Line Constrained tool will be activated when you open the toolbox and click the tool. The Length check box will be turned on and the line that you place will have a length of 20 working units.