Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Batch delete Design History with this macro
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • -Design Settings
        • Assign global origin
        • Batch delete Design History with this macro
        • Change revision number for design history
        • Change the order of a multi-snap
        • Change V7 working units by keyin
        • Change V8 working units by keyin
        • Compress a directory
        • Compressing files
        • CTRL B for better viewing and bye bye
        • Cursor styles and sizes
        • Customize V8s working unit labels
        • Delete design history
        • Does Design History really increase the file size two-fold
        • Drawing scale window
        • Exit a file without saving changes
        • Ignore the active attributes when changing element attributes
        • On using PopSet
        • Populate file properties with this macro
        • Reset the graphic group number
        • Set a "bookmark" in a file
        • Set mouse wheel preferences
        • Set the active angle
        • Set the default snap mode as a user preference
        • Set your tentative snap point readout mode
        • Toolbox for all your locks
        • Understanding working units in MicroStation V7
        • V7 workmode and live nesting
      • +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. 

    Batch delete Design History with this macro

    Ask Inga logo

    Original Article Date: Oct 30, 2007

    With thanks to Van Woods for contibuting this mvba which allows you to delete design history using a batch processes.

    Download 319.zip and extract delete_history.mvba from the zip file.

    Place the mvba in the folder pointed to by MS_VBASEARCHDIRECTORIES

    Start MicroStation using the supplied shortcut or by some other means that ensures that the configuration variable MS_DESIGN_HISTORY has at least the following permissions: create=1;delete=1

    Select Utilities > Batch Process and then File > Open the supplied delete history.bprc file.

    Ensure that delete history.txt command file is correctly identified in the batch process Command File text field.

    Verify that the Initial Model setting is set to Default Model Only

    Add files to process by going to Edit > Add Files...

    Start processing by selecting File > Process... and clicking the Process Batch Process Job button followed by the Process button.

    This program is supplied as is. This program does not come with support. AskInga, Bentley Systems Inc., and the author of the program assumes no liability for damages direct, indirect, or consequential, which may result from the use of this program. Use this program at your own risk.

    AskInga Article #319

    • Askinga
    • FreewareShareware
    • Article
    • Share
    • History
    • More
    • Cancel
    • Hannah Blye Created by Hannah Blye
    • When: Tue, May 27 2008 3:30 PM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Mon, Jun 14 2010 10:17 AM
    • Revisions: 5
    • 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