Product: | MicroStation | ||
Version: | 08.05.01.25 | ||
Environment: | N\A | ||
Area: | Text | ||
Subarea: | General |
How do I set Text to Italic mode with a key-in?
Here is the information on how to set the Italics. This information came from recording a basic macro. This
is a good way to see what the keyin or what function is being used to perform a certain operation.
Sub main
Dim startPoint As MbePoint
Dim point As MbePoint, point2 As MbePoint
' Start a command
MbeSendCommand "MDL KEYIN textstyle textstyle dialog open"
' Set a variable associated with a dialog box
MbeSetAppVariable " TEXTSTYLE", "gTextStyleData.italic", 1&, 1&
MbeSendCommand "TEXTSTYLE Save "
End Sub
It is using and Mbe Send command to set the value. This can not be used through the keyin browser. This can be accomplished either through Basic (above) or through VBA.
Original Author: | Bentley Technical Support Group |