Government, MicroStation Tips & Tricks: Making global changes easier
Create your own MicroStation basic macro
1. Open any design file.
2. Go to Utilities|Macro|Create BASIC Macro... (BASIC is the programming language MicroStation uses to assist in creating its macros.)
3. From the "Create Macro" dialog box, add a name in the "Name:" field and a description in the "Description:" field.
4. Notice the "Location:" menu button at the bottom of the "Create Macro" dialog box. This shows you where the macro you are creating will be placed. The default is ...workspacestandardsmacros. Using the drop-down menu, you can change it to the only other location option ...workspacesystemmacros. It really doesn't matter which one you use, since by default MicroStation will see both locations.
5. Now get ready! As soon as you press "OK" on the "Create Macro" dialog box, MicroStation will start recording your every move. As soon as you're ready, press "OK" and watch what comes up immediately after.
6. Notice that the "Play" button is already engaged. Walk through the actions that you'd like to have recorded for later use. There's a "Pause" button there in case you need to stop recording before you've completed the macro. Press the "Play" key again to resume recording. Press the "Stop" button to complete the process. Pressing "Stop" will close the recording session entirely, so don't press it until you're done.
How to run a MicroStation macro on all of your design files using Global File Changer
1. Create a text file and call it whatever you want, but change the "txt" extension to "key".
2. You only need one line in the file. The format is:
macro (macro name)
The word "macro" followed by a space, followed by the name of the macro that you created earlier. Example: If your macro were named "Superman", it would look like this:
macro Superman
3. Save and close the text file.
4. Load Global File Changer from your Axiom pull-down menu.
5. To select which files to process, press the "Select..." button next to the "Design Files:" field. This will open the "Choose Files to Process" dialog box.
6. Press the "Browse for files" button and you will be able to navigate to and select the files you want to process. Press "OK" to get back to the main Global File Changer dialog box.
7. Press the "Select" button next to the "Key-in Files:" field. This will allow you to navigate to and select the key file that you made earlier. Press "Open" to return to the main Global File Changer dialog box.
8. The "Report File:" field is unimportant for processing, but it needs to have a valid path and file name.
9. Press "Start" to process your files.
You should now see the fruits of your macro executed! What was recorded earlier should now have replayed in your MicroStation environment for every file processed by Global File Changer. Rick Sewell has been working with Axiom products for over ten years and is one of their resident MicroStation gurus. For more MicroStation tips or to find affordable, time-saving products and services for CAD managers, please visit http://www.AxiomInt.com.
If you need any assistance setting up the CSV file, you can call Axiom tech support at 727-442-7774.
Related Tags: axiom, microstation, microstation tips, global file changer
Your Article Search Directory : Find in Articles
Recent articles in this category:
- Law Articles - Public Criminal Records on the Net
If you're looking for the safest place to be with this time, you may have some difficulties doing so - Law Articles - Selecting a Criminal Defense Lawyer - The Do's and Don'ts
In basketball, they say that a good defense is the best offense. The same goes when you have to go t - Christianity Articles - Mighty Acts are here and Psalm 150
1 Praise the LORD! Praise God in His sanctuary; Praise Him in His mighty firmament! 2 - Government Articles - Lito Atienza For Manila Mayor - Vote For Someone Prolife
In the approaching Manila elections, a prospect with supreme pro life advocacy has indicated his des - Government Articles - Real ID - Great Idea or Bad Idea?
Real ID Act of 2005 is calculated to fight terrorism, identity theft, and other problems by strength - Christianity Articles - Remember the Law of Moses (Malachi 4:4)
The Philadelphia Trumpet magazine article, Remember the Promises, presents itself as offering some g - Environment Articles - How will the world be affected by the outcome of the Copenhagen climate plan?
December 2009 saw Copenhagen welcome more than 40 world leaders and an additional 20,000 delegates - Christianity Articles - Taking a Stand for the Temple Mount!
On many political and religious forums I post and participate on (just google David Ben-Ariel and se - Christianity Articles - Alternative to United Nations
The hypocritical UN, that diseased body of the dysfunctional family of nations, is worthless except - Spiritual Articles - The Realities of 2012
As with most serious problems in our country, only a crisis of major proportions generates action. B
Most viewed articles in this category:
- Lost on a Couch
"Lost on a Couch" - the psychological reasons for the US defeat in Iraq In many ways the de - Why Should We Fight the War Against Terror?
The War on Terror is getting a lot of attention these days. Most people either strongly suppor - Is George Allen's Political Career Over?
In the wake of George Allen's defeat by Jim Webb, let's not write Allen's political obituary just ye - Freakonomics, a Book Review
If the thought of a book on economics is about as exciting as watching your toenails grow, or you ar - The Basics of Government Auctions
A government auction is a good place to buy quality or unusual merchandise at a bargain. Government - Controversial Treatment Gives Patient Higher Quality of Life but Takes Away Self Dignity
In Seattle, a 9 year old girl named Ashley is affected by a disease called static encephalopathy. T - Organic and Fairtrade Baby Food
Organic baby food has been around for a number of years but the first Fairtrade baby food was launch - The Greening of America's Cities
The Greening of American Cities Today, merely collecting the garbage, running a bottle recyclin - What to Expect from Schwarzenegger's Health Care Plan
After successful body building and acting careers, Arnold Schwarzenegger decided to attack the world - What is Bird-Flu?
Over the past year, Bird Flu has been pasted on the headlines of every major media outlet