Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Move all elements to the same elevation (or common Z-value)
    • Sign In

    • -AskInga
      • -3D MicroStation
        • An Introduction to the 3D Primitives
        • Change the elevation of raster attachments
        • Easy orientation in 3D-Space
        • Extrude shapes based on text
        • Go Ahead Draw This
        • Having trouble setting the active depth
        • Label only the Z with label coordinates tool
        • Macro to place random cells on DTM
        • Make a DTM and drape an image MicroStation pre-V8i
        • Make a DTM and drape an image MicroStation V8i (excluding SSx)
        • MicroStation 3D - One package, multiple capabilities
        • Move 2D elements to correct elevation
        • Move all elements to the same elevation (or common Z-value)
        • Move element to a given Z
        • Move or place elements at the correct Z-elevation
        • STL export settings
        • Swivel the view camera
        • The boresite lock
        • To show the display depth and active depth
        • Use the old window area tool to propagate the display depth
      • +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
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

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

    Move all elements to the same elevation (or common Z-value)

    AskInga logo

    Original Article Date: Sept 20, 2002

    2004-04-05 Fix broken link.
    2004-06-21 Added information about setz.
    2004-11-08 Added nifty keyin from Phil and cool tip from Julie.

    So, you've just inherited a 3D file and the elements need to be move to the same elevation (or flattened). Here are a few methods to accomplish just that.

     

    Use Align Edges:
    The Align Edges tool can be found in the Manipulate tool box and can be used to quickly flatten your file. You can gather up your elements with either a Fence or put them in a Selection Set. Then activate the tool, adjust the Alignment to Top and select a Base Element. The Base Element will determine the elevation of the selected (or fenced) elements.

    Do a Fence Scale:
    Another method of flattening your file is to do a Fence Scale. First set up the Active Depth that you want to flatten the elements to. For example, if you want to send all the elements to a depth of 3 in the Top view, keyin AZ=3 and enter a datapoint in the Top View. Then gather up the elements with a Fence and select the Scale Element tool. Adjust the X-Scale and Y-Scale to 1 and the Z-Scale to 0.00001. Then just enter a datapoint to accept.

    By the way, Phil Chouinard offers this nifty keyin to somewhat 'automate' this workflow:

    view on 1;vi=top;selv 1;az=0;selv 1;xs=1;ys=1;zs=0.0000001;choose all;scale;xy=0,0,0;choose none;as=1;null

    Note, the choose all command in the above keyin will select every element in the active model whether you can see them or not. This also includes any element on levels that are turned off or not displayed.

    V8.5 - Use the new XY= keyin that allows for relative coordinates
    Julie posted this cool tip on the v8.general discussion group:

    "...keyin xy=#,#,500 will move all elements relative 0 in the X and Y planes, and absolute to 500 in the Z plane. Substitute whatever you want for 500."

    To see this keyin in action, take a look at the bottom of Placing Elements at Absolute Coordinates


    Export to 2D:
    If you really don't need the file to be in 3D, then you can also flatten it by exporting to 2D. Take a look at File > Export > 2D


    Use CivTools:
    You could also use the Bentley Library utility Civil/Site Tools ("CivTools"). This V8-MDL contains a suite of tools specifically designed for civil type work, including one to move your elements to a particular elevation.

    Use SetElemZ:
    You can also use this slick little V7 app to move your elements to the proper depth. It's called SetElemZ and can be found on Bear's site [broken]


    Use ModZ for MicroStation V8:
    Another free utility is Bob Biggar's ModZ which is available from The IDDEA Group [broken]. Thanks Bob!


    Use SetZ for MicroStation V8:
    In the V8MDLExamples.zip file (available from the Free Downloads category of SELECTservices Online), you'll find a nice little MDL called SetZ that allows you to move elements to a common elevation with a single button. Note that the MDL is uncompilied.


    Use 2D:
    Finally, there's a free utility on Tim's page [broken] called 2D. This little macro will flatten all elements to zero.

    AskInga Article #123

    • Askinga
    • 3D
    • Element Manipulation
    • Article
    • Share
    • History
    • More
    • Cancel
    • Hannah Blye Created by Hannah Blye
    • When: Wed, May 14 2008 3:43 PM
    • Frank Klein Last revision by Frank Klein
    • When: Mon, Apr 3 2017 7:54 AM
    • Revisions: 18
    • Comments: 1
    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