Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki How to select the active element template and set the association lock via keyin
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • -Standards - MicroStation
          • +General - Standards - MicroStation
          • -Templates - Standards - MicroStation
            • Applying an Element Template to a SHP reference file
            • Creating an Element Template with a Custom Section Pattern
            • How to import an existing element template into MicroStation
            • How to select the active element template and set the association lock via keyin
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    How to select the active element template and set the association lock via keyin

      Product(s): MicroStation
      Version(s): N\A
      Environment: N\A
      Area: Standards
      Subarea: Templates

    The following key-in(s) can be used to set the active Element Template and turn on the Element Template Association lock.  Useful for placing behind a Function Key or Customized Button.

    Background

    An Element Templates is a named set of predefined element properties that can be used to set the active settings when placing elements, or applied to existing elements. The active Element Template is typically set by selecting the Template through the Ribbons 'Attributes' group by selecting the down arrow and navigating to the required Template.

                                                                                                                    

    In addition, when placing an element with the active Element Template, it is possible for the element to be associated to the Template, such that if the Template properties are changed all elements associated with that template are also changed. To enable this the Element Template Association icon next to the Element Template name needs to be selected ( Depressed background )

                                                                                                                   

    Steps to Accomplish

    To Set the active Element Template via Key-in

    1. Open the Key-in dialog ( Drawing > Home > Primary > Key-in )

                                        

          2.    Enter the Key-in 'Template Active TemplateGroup\TemplateName'

    To Set the Element Template Association via Key-in

    1. Open the Key-in dialog ( Drawing > Home > Primary > Key-in )
    2. Enter the Key-in 'Lock Templateassociation On'

    Example of Combining Key-in(s)

    It is possible to combine the keyins using the ';' to seperate them. In this example the Active Element Template 'RailwayLine' from the Template Group 'Rail' will be used to place a Smart Line which is associated to the Template via keyin

    1. Open the Key-in dialog ( Drawing > Home > Primary > Key-in )
    2. Enter the Key-in 'lock templateassociation on;template active Rail\RailwayLine;place smartline'

    3. Place the Smart Line

                                     

    See Also

    https://communities.bentley.com/communities/other_communities/askinga/w/askinga/591/keyin-to-lock-the-active-element-template

    https://communities.bentley.com/communities/other_communities/askinga/w/askinga/577/combine-your-keyins

    • MicroStation
    • templates
    • Standards
    • en
    • KEY-IN
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Carl Myhill Created by Bentley Colleague Carl Myhill
    • When: Mon, Jun 18 2018 7:46 AM
    • Carl Myhill Last revision by Bentley Colleague Carl Myhill
    • When: Mon, Jun 18 2018 7:51 AM
    • Revisions: 2
    • 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