Jump to content

Multiple Dgns FitView


suryatry26

Recommended Posts

Batch Process is a utility that will run a list of MicroStation commands on a group of files or directories. The command list can also include custom macros and mdl applications. The command list is a simple text file that can be edited in Notepad. A Batch Process job file containing the batch process settings can be stored and reused.

 

Batch Process dialog

The Batch Process dialog is accessed from Utilities > Batch Process and is used setup, save and open the batch process jobs. The dialog will help control which files are added to the job and which files are processed.

 

pic0_38781.jpg

 

 

Command File

The Command File is a simple text file that has MicroStation key-in commands listed. Any line that begins with a pound symbol # will not be read as a command line. Multiple commands can be run in consecutive order and additional macros and mvba apps can be started.

 

pic1_38781.jpg

 

To Fit the view and save settings here are the keyins.

 

fit view extended

SELVIEW ALL

filedesign

null

Link to comment
Share on other sites

Code.jpgHi Mr.envisioncad i have tried & its showing Invalid Batch Process Job Line...please see the attached *.txt..here i want to edit any? Edited by suryatry26
For Clear Expose
Link to comment
Share on other sites

Want to Do

1.FitView(Fit View Extended)

2.Compress Design (FileDesign)

3.Save Settings

4.Dgn Save

5.Close Design(Close Design)

 

For Multi DGNS..

Link to comment
Share on other sites

suryatry26, this is not a windows batch like a run .bat file. You need to run the text file from with-in MicroStation. It doesn't matter what file you open it can just be a blank file. Go to the pull down Utilities > Batch Process then add the files and add the command file.

 

Here is the keyins for your 5 steps above

fit view extended

SELVIEW ALL

compress design

filedesign

save design

#there is no need to close the file the batch process will take care of that and move on to the next file in the list.

null

 

HTH,

Bob Mecham

Link to comment
Share on other sites

s its working fine...But if some dgn having Model & Layout...Here i want action only for Model view and out put also same..But here its coming reverse..how to ignore or remove that Layout??I cannt able to remove that Layout..Each Dgn its showing One Model & One Layout and out put also coming with Layout view...but i want consider model view only output also required same model window.

Layout.jpg

Layout.jpg

Link to comment
Share on other sites

suryatry26, in the Batch Process dialog set the Initial Model to Default Model Only instead of All Models. That should work for what you have.

 

Regards,

Bob Mecham

Link to comment
Share on other sites

  • 1 month later...

That Red Marked Inside Window i want to maximize..I want to include this Command.I think "file maximize" Command will not work for this?

ForMaximize.jpg

Link to comment
Share on other sites

Thanks for the screen capture. The best keyin I could find would be "window tile" or "window tile;fit all;dx=0" that is if only one view is open. There is also "window cascade" that will cascade all open views.

 

I could not find a window maximize keyin.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...