Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Using the Expand Keyin
    • 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
        • Access the BASIC editor
        • An alternate keyin for DL=0,0,0
        • Capturing messages from the dialog debugger
        • Changes to the DI keyin
        • Combine your keyins
        • Dealing with quotation marks in named settings such as saved views, text styles, dimension styles and more
        • Dealing with spaces in names when using keyins
        • Determining keyins associated with tool settings
        • How to expand keyins that contain configuration variables
        • How to extract keyins for the tool settings in MicroStation V8i
        • How to string keyins together or create keyin scripts
        • Increment or decrement keyins
        • Keyin for the save as dialog
        • Keyins to reload active file
        • MicroStation's accelerator keys AKA keyboard shortcuts
        • MicroStation's calculator preprocessor
        • Multiply or divide keyins
        • Paste into the keyin window
        • Print messages in your scripts
        • Something neat to add to the end of script files
        • The keyboard shortcuts
        • The power of keyins
        • The V7 Keyin list
        • The V8 Keyin list
        • To open the previous file
        • Understanding the Key-in Browser
        • Use the pipe key for repetitive keyins
        • Using the Expand Keyin
        • What command was that?
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

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

    Using the Expand Keyin

    AskInga logo

    Original Tip Date: Nov. 5, 2003

    Using expand keyin and $
     
    Gino wrote this in v8.general with his favorite crayola:

    MicroStation V8.5 - expand keyin expands configuration variables in the key-in, then sends it to MicroStation.

    The $ keyin is an alias for expand keyin.
    For example:


    expand keyin create cell $(basename(_dgnfile)
    Attempts to create a cell using the name of the file.

    $ create cell $(basename(_dgnfile))
    Is the same as above.

    The above keyins will only work when expandkeyin.ma is loaded.

     

    AskInga Tip #339

    • tips
    • Askinga
    • Programming Automation
    • Share
    • History
    • More
    • Cancel
    • JStierly Created by JStierly
    • When: Fri, Jun 20 2008 9:12 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Jun 14 2010 3:22 PM
    • Revisions: 3
    • 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