Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Choose inverse
    • 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
        • Can't select elements or manipulate selection sets?
        • Change how the PowerSelector starts
        • Choose inverse
        • Choosing previous selection set
        • Choosing the last element
        • Create a selection set from your graphic group
        • Create a selection set with crossing mode
        • Create fence from flood
        • Disable highlighting when passing cursor over elements
        • Element info dialog - organize by modes
        • Element selection missing from reset Pop-Up menu
        • Faster way to select all elements
        • How to deselect - clear - release a selection set
        • How to quickly locate erroneous elements
        • Make a new selection set
        • Named fences
        • Named groups, displaysets and quick sets
        • Option to enable AccuSnap for fence placement
        • PowerSelector nifty CTRL click trick
        • Remove elements from from the view display without using levels
        • Select all elements on the active level
        • Select by fill colour using this macro
        • Show element vertices with this macro
        • Slow response when creating and working with selection sets
        • Using a fence to create a selection set
        • Using AccuSnap when placing a fence
        • Using TAB to cycle through elements
      • +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
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

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

    Choose inverse

    AskInga logo

    Original Tip Date: September 2005

    Updated:  October 2010

    Choose Inverse??!!!
     

    Look what happens when you think outside of the box! Here's a keyin develped by Scott Harmon that is essentially a choose inverse function.

    What it's doing is first creating a named group of the stuff already selected. this group is called z1.
    It then creates one for all elements in the model and calls it zAll.
    It then subtracts z1 from zAll and finally selects the new zAll.
    These named groups are also deleted at the start and at the end of this keyin so that the Named Groups dialog isn't messed up.

    This keyin works in MicroStation pre-V8i

    namedg del z1;nam cre z1;dx=0;choose all;namedg del zAll;nam cre zAll;dx=0;choo gro set z1;group drop zall;dx=0;choo gro set zAll;namedg del z1;namedg del zAll

    For MicroSation V8i, use this one.  (Tested on V8i SS2)

    namedgroup delete z1;namedgroup create z1;point ab;choose all;namedgroup delete zAll;namedgroup create zAll;point ab;choose group set z1;group drop zAll; point ab;choose group set zAll;namedgroup delete z1;namedgroup delete zAll;namedgroup delete zAll

    The graphic below is from MicroStation V8 2004 Edition.



     

     

    AskInga Tip #555

    • tips
    • Askinga
    • Element Properties
    • Share
    • History
    • More
    • Cancel
    • JStierly Created by JStierly
    • When: Thu, Jun 19 2008 8:28 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Thu, Oct 21 2010 1:33 PM
    • Revisions: 6
    • 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