Product: | MicroStation | ||
Version: | 08.09.04.51 | ||
Environment: | N\A | ||
Area: | Configuration | ||
Subarea: | Workspaces |
Setting tool settings for a custom tool.
How do I set tool settings for a custom tool?
Key-in SET ITEM TOOLSETTINGS
Get the possible settings:
Example:
Creating a custom tool for "Place LIne Constrained" and want to enable
the Length and set it to 10.0 units.
Command Data
Key-in: PLACE LINE CONSTRAINED
Item Settings
Dialog Item Name: ToolSettings.lengthtoggle
Type: Literal
Value: 1
Item Settings
Dialog Item Name: ToolSettings.length
Type: Distance
Value: 10.0
Notes:
It is possible to make a key-in and include the tools settings.
Using the above example:
Key-in: PLACE LINE CONSTRAINED;SET ITEM TOOLSETTINGS LENGTHTOGGLE=1;SET
ITEM TOOLSETTINGS LENGTH=10.000
For Type, use "literal" for toggles and drop down settings.
Toggles are 1 = On, 0 = Off.
Drop downs are 0 = first choice, 1 = second choice, 2 = third choice, and so on.
Refer to the help on Custom tools
> Help > Contents > Setting Up Projects > Workspaces > Customizing the User Interface > Tools
Original Author: | Bentley Technical Support Group |