Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki How to insert text into your design files
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • -Text - Fonts - Annotation
        • Add a drop shadow to your text
        • Add an outline to your text
        • Add or remove annotation scale to existing text and cells
        • Adjust the text size in the Text Editor or Word Processor
        • All about the text preview as seen in the Text Styles dialog
        • ALT codes for special characters
        • Alternate text editing handles in V8
        • Alternate text editing handles in XM
        • An improved version of Change Text Case - Rev 1
        • An improved version of Change Text Case - Rev 2
        • Annotation Scale simplified
        • Assign a different Text Node value
        • Change active text size by applying simple math via keyin
        • Change single-line text size
        • Change text case
        • Change text scale and rotation
        • Change text size based on the active scale
        • Change the annotation scale of selected text and cells
        • Change various text rotations all at once
        • Controlling text order when pasting into another application
        • Convert single lines of text to a multiline text node
        • Converting MicroStation RSC fonts to TTF fonts
        • Dealing with the ° symbol
        • Dealing with the maximum text size when working with MicroStation J
        • Define tabs and indents
        • Disable word processor when using place note
        • Display a text file in MicroStation
        • Display fonts in a handy dialog
        • Dynamic text justification in Place Note
        • Edit text in cells with MicroStation V8 2004 Edition
        • Editing dictionary files
        • Editing text placed along an element
        • Enter text via a keyin regardless of the editor style
        • Export text from design files to text files
        • Force the Word Processor regardless of default
        • Get rid of warning message when changing annotation scale
        • How to insert special characters into your drawings
        • How to insert text into your design files
        • How to unlock a locked text style
        • Insert a new line or carriage return
        • Keyin to change line spacing
        • Keyin to set active text style
        • Keyin to set the text style to none
        • Keyins for special characters
        • Keyins to set text editor style
        • Left Margin - Right Margin - Text Justification Explained
        • Line Spacing - At Least
        • Line Spacing - Automatic
        • Line Spacing - Exact
        • Line Spacing - From Line Top
        • Make your field units display with superscript text
        • Maximum characters for text element
        • Nearest Snap and text
        • New line of text
        • Overcoming problems when placing text from a command line
        • Place multiple leader lines with Place Note
        • Place Note text above a leader
        • Place Note with an arc
        • Place text on line without breaking the line.
        • Put different text in the preview window
        • Quickly see your fonts
        • Red font name
        • Scale or rotate your text about a point
        • See your special characters
        • Set Annotation Scale via keyin
        • Set line spacing used for label line
        • Simplifly repetitive text placement with this VBA
        • Slow screen updates with true type fonts
        • Sort fonts by font number instead of by font name
        • Split large blocks of text using a fence
        • Stanza - A mini text editor for MicroStation
        • Stop clicking Apply when editing text
        • Super fast text editing
        • Superscript and subscript text
        • Text Editor background color
        • Text style icon variations
        • The default font
        • Toggle text preview
        • TTF and SHX text have font numbers
        • Use the nearest snap to locate key points on text
        • Use the same spell checker dictionary as Microsoft Word
        • VBA to change size of text in Word Processor
        • Where new words go
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    How to insert text into your design files

    AskInga logo

    Original Article Date: Sep 26, 2003

    There are many ways of getting text from an external file in your MicroStation design file and this little article will explore a few different techniques for you to try. With thanks to Karl Peterson, CADD Manager of Cook County Highway Department for suggesting this topic.

    (1) Direct import of a txt file using your active attributes:
    Set up your active symbology (level, colour, and weight) as desired.
    Set up your active text attribues as desired.
    This will include things such as the font, justification, line spacing and so forth.
    Then select File > Import > Text
    Locate and select the txt file.
    Either double-click the file or press the OK button.
    Alternativly, you could also just use the keyin include your_text_file_name.
    The new text element will be stuck on your cursor ready for placement.
    Enter a datapoint to position the text.
    Notice that it's placed using all of your active settings.
    Multi-line text will be imported as a text node.

    (2) Direct import of a txt file without using your active attributes:
    To set the attributes from the txt file, open it in any text based editor.
    Insert any or all of the following lines:

    .LV=[level_name]
    .CO=[colour_number]
    .WT=[weight_number]
    .FT=[font_number]
    .TH=[text_height_value]
    .TW=[text_width_value]
    .TX=[text_height_and_width_value]
    .LS=[line_spacing]

    Save and close the file.
    In MicroStation keyin include your_text_file_name OR
    Select File > Import > Text > your_text_file
    Enter a datapoint to position the text.
    Notice that this time, the text is not stuck to your cursor and that multi-line text gets imported as single lines of text.
    Even so, they will be graphic grouped together for easier manipuation.

    (3) Copying text information from a txt or doc file:
    Open the text document in the appropriate program.
    Do a CTRL+A to select all the text.
    Do a CTRL+C to copy the selected text into the system clipboard.
    In MicroStation set up your active symbology (level, colour, and weight.
    Also set up your active text attribues.
    This will include things such as the font, justification, line spacing and so forth.
    Then do a CTRL+V.
    The new text element will be stuck on your cursor ready for placement.
    Enter a datapoint to position the text.
    Notice that it's placed using all of your active settings.
    Multi-line text will be imported as a text node.

    (4) Getting external text into the Text Editor:
    This is essentially the same as item 3 above, but with one little twist in it.
    Once you've got the text into the clipboard, go back to MicroStation.
    Select the Place Text command
    Do a CTRL+V to paste the clipboard text into the text editor or word processor.
    Make any changes or edits as required.
    Place the text as you normally would.

    AskInga Article #157

    • Text Fonts Annotation
    • Askinga
    • Article
    • Text Fonts Annotation
    • Share
    • History
    • More
    • Cancel
    • CTennyson Created by Bentley Colleague CTennyson
    • When: Wed, May 21 2008 11:57 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Jun 14 2010 3:14 PM
    • Revisions: 7
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies